diff options
author | frostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-18 01:27:50 +0000 |
---|---|---|
committer | frostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-18 01:27:50 +0000 |
commit | 9846abedb22cb210c827213d8489049f0fa75f78 (patch) | |
tree | eb08608f218acc4dd164f680c28efa5ce036b4f7 | |
parent | 9949c65ae5e81951f1b0e476caa4804c9a3fc3ad (diff) |
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
-rw-r--r-- | .Makefile.inc | 6 |
1 files 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 |