1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 01:43:12 +02:00

- Give more clear error to users who use make custommodule'' without MODULEFILE. (#3935)

This commit is contained in:
binki
2010-07-16 12:04:34 +00:00
parent 2510f2c94b
commit 45aeb1e61d
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -2036,3 +2036,5 @@
incompatible. If the self-compiled curl version is (too) outdated, then we
now suggest to rename it and have the installer re-download and compile
it automatically. This avoids some potential crashes.
- Give more clear error to users who use ``make custommodule'' without
MODULEFILE. (#3935)
+1
View File
@@ -135,6 +135,7 @@ MAKEARGS = 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'IRCDLIBS=${IRCDLIBS}' \
'URL=${URL}'
custommodule:
@if test -z "${MODULEFILE}"; then echo "Please set MODULEFILE when calling \`\`make custommodule''. For example, \`\`make custommodule MODULEFILE=callerid''." >&2; exit 1; fi
cd src; ${MAKE} ${MAKEARGS} MODULEFILE=${MODULEFILE} 'EXLIBS=${EXLIBS}' custommodule
server: