diff options
author | frostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-07 19:14:24 +0000 |
---|---|---|
committer | frostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-07 19:14:24 +0000 |
commit | 595091ca4330e079a76cc35fd304e74f2e4273f6 (patch) | |
tree | 7959fe6618f17a09501932a127c2ab0746d7fa1d | |
parent | ae9cbd7ffb0f788893f929176a91c7a78f911c77 (diff) |
Fix to Bugs #10 and #11
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@427 e03df62e-2008-0410-955e-edbf42e46eb7
-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" |