diff options
-rw-r--r-- | .Makefile.inc | 4 | ||||
-rwxr-xr-x | configure | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/.Makefile.inc b/.Makefile.inc index 83ea71fcf..62d23f0d7 100644 --- a/.Makefile.inc +++ b/.Makefile.inc @@ -31,7 +31,11 @@ echo " \${MAKE} -C src DIRNAME="src" \$(MAKEARGS)" >> Makefile echo " cp src/inspircd \$(BINPATH)" >> Makefile echo "" >> Makefile echo "config:" >> Makefile +if [ -n "$COPY_CONF" ] ; then echo " cp conf/* \$(CONPATH)" >> Makefile +else +echo " echo \"*** Nothing to Be Done for make config\"" >> Makefile +fi echo "clean:" >> Makefile echo " rm -rf src/*.o" >> Makefile echo " rm -rf src/modules/*.o" >> Makefile @@ -364,6 +364,11 @@ touch include/inspircd_config.h echo "Preparing Variables for the Makefile" +if [ "$CONFIG_DIR" != "$ME/conf" ] ; then + COPY_CONF=1 +fi + + case "$OSNAME" in (FreeBSD) LDLIBS="-Ldl" |