summaryrefslogtreecommitdiff
path: root/.Makefile.inc
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-27 14:08:52 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-27 14:08:52 +0000
commit2579e83d3d03f3360974c014623c39b523fef95c (patch)
tree5ed6e44b14890ac6c33e5bb29a382f68a2f0f58a /.Makefile.inc
parent531b6fdbf624f1622b9b4fea6868b18625123dd5 (diff)
Smart trick: the 'build complete' message is now a makefile section of its own which depends on 'ircd' and 'mods', so when using -j, the rest of the processes will wait to complete before displaying the message ;)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5554 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to '.Makefile.inc')
-rw-r--r--.Makefile.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/.Makefile.inc b/.Makefile.inc
index 829da54cc..1ca79206e 100644
--- a/.Makefile.inc
+++ b/.Makefile.inc
@@ -21,11 +21,15 @@ MODULES = @MODULES@
STATICLIBS = @STATICLIBS@
MAKEARGS = 'PROGS=${PROGS}' 'FLAGS=${FLAGS}' 'CC=${CC}' 'LDLIBS=${LDLIBS}' 'MODULES=${MODULES}' 'MODPATH=${MODPATH}' 'LIBPATH=${LIBPATH}' 'STATICLIBS=${STATICLIBS}'
-all : @MAKEORDER@
+all : @MAKEORDER@ finishmessage
mods:
@echo "Making modules..."
${MAKE} -C src/modules DIRNAME="src/modules" $(MAKEARGS)
+
+# Make this depend on 'ircd' and 'mods', so its always output last even with -j
+finishmessage: ircd mods
+ @echo ""
@echo "*************************************"
@echo "* BUILD COMPLETE! *"
@echo "* To install InspIRCd, type: *"
@@ -127,6 +131,7 @@ install: all
@-cp conf/cert.pem $(CONPATH)
@-cp docs/inspircd.conf.example $(CONPATH)
${MAKE} -C src/modules DIRNAME="src/modules" $(MAKEARGS) modinst
+ @echo ""
@echo "*************************************"
@echo "* INSTALL COMPLETE! *"
@echo "* It is safe to ignore any messages *"