From 45aeb1e61d5c9d207a2da9bbfa1fd866103f5c8e Mon Sep 17 00:00:00 2001 From: binki Date: Fri, 16 Jul 2010 12:04:34 +0000 Subject: [PATCH] - Give more clear error to users who use make custommodule'' without MODULEFILE. (#3935) --- Changes | 2 ++ Makefile.in | 1 + 2 files changed, 3 insertions(+) diff --git a/Changes b/Changes index 3ab2385be..d0ed0334c 100644 --- a/Changes +++ b/Changes @@ -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) diff --git a/Makefile.in b/Makefile.in index 5ae728d9d..deb8f2e8b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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: