summaryrefslogtreecommitdiff
path: root/.Makefile.inc
diff options
context:
space:
mode:
authorfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-18 00:42:44 +0000
committerfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-18 00:42:44 +0000
commit85ce325779c67004975f67475d3cebc05d66e197 (patch)
tree19c12b0d3cc93e6a4c888b6765caa7805cf32cb2 /.Makefile.inc
parente81bad456aa55af8b0cb31d2ffeb0672ff0c6bbf (diff)
Modules will no longer re-compile themselves if they havnt changed.
Use ./configure -update to update your module listing in the makefiles. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@636 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to '.Makefile.inc')
-rw-r--r--.Makefile.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/.Makefile.inc b/.Makefile.inc
index 62d23f0d7..01b82d262 100644
--- a/.Makefile.inc
+++ b/.Makefile.inc
@@ -18,21 +18,20 @@ echo "CONPATH = $CONFIG_DIR" >> Makefile
echo "MODPATH = $MODULE_DIR" >> Makefile
echo "BINPATH = $BINARY_DIR" >> Makefile
echo "MODULES =$MODULES" >> Makefile
-echo "MAKEARGS = 'PROGS=\${PROGS}' 'FLAGS=\${FLAGS}' 'CC=\${CC}' 'LDLIBS=\${LDLIBS}' 'MODULES=\${MODULES}'" >> Makefile
+echo "MAKEARGS = 'PROGS=\${PROGS}' 'FLAGS=\${FLAGS}' 'CC=\${CC}' 'LDLIBS=\${LDLIBS}' 'MODULES=\${MODULES}' 'MODPATH=\$(MODPATH)'" >> Makefile
echo "" >> Makefile
echo "all : ircd mods config" >> Makefile
echo "" >> Makefile
echo "mods:" >> Makefile
echo " \${MAKE} -C src/modules DIRNAME="src/modules" \$(MAKEARGS)" >> Makefile
-echo " mv src/modules/*.so \$(MODPATH)" >> Makefile
echo "" >> Makefile
echo "ircd:" >> Makefile
echo " \${MAKE} -C src DIRNAME="src" \$(MAKEARGS)" >> Makefile
-echo " cp src/inspircd \$(BINPATH)" >> Makefile
+echo " @cp src/inspircd \$(BINPATH)" >> Makefile
echo "" >> Makefile
echo "config:" >> Makefile
if [ -n "$COPY_CONF" ] ; then
-echo " cp conf/* \$(CONPATH)" >> Makefile
+echo " @cp conf/* \$(CONPATH)" >> Makefile
else
echo " echo \"*** Nothing to Be Done for make config\"" >> Makefile
fi