From 9846abedb22cb210c827213d8489049f0fa75f78 Mon Sep 17 00:00:00 2001 From: frostycoolslug Date: Sun, 18 Apr 2004 01:27:50 +0000 Subject: Added bininst for manually copying the binary file (Also allows all the IRCd to compile, so if the copy fails, it doesnt matter) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@639 e03df62e-2008-0410-955e-edbf42e46eb7 --- .Makefile.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.Makefile.inc b/.Makefile.inc index 01b82d262..67c047781 100644 --- a/.Makefile.inc +++ b/.Makefile.inc @@ -20,13 +20,15 @@ echo "BINPATH = $BINARY_DIR" >> Makefile echo "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 "all : ircd mods config bininst" >> Makefile echo "" >> Makefile echo "mods:" >> Makefile echo " \${MAKE} -C src/modules DIRNAME="src/modules" \$(MAKEARGS)" >> Makefile echo "" >> Makefile echo "ircd:" >> Makefile echo " \${MAKE} -C src DIRNAME="src" \$(MAKEARGS)" >> Makefile +echo "" >> Makefile +echo "bininst:" >> Makefile echo " @cp src/inspircd \$(BINPATH)" >> Makefile echo "" >> Makefile echo "config:" >> Makefile @@ -37,7 +39,7 @@ 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 +echo " rm -rf src/modules/*.so" >> Makefile echo "" >> Makefile echo "modclean:" >> Makefile echo " rm -rf modules/*.so" >> Makefile -- cgit v1.2.3