diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-18 22:06:42 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-18 22:06:42 +0000 |
commit | c77fb6075e92d34aa0dc0b7612eb3a552a9fb5d1 (patch) | |
tree | 364588fce8f9befae68bb7f3eae2dbb6ac157475 | |
parent | a184aac0df7c864f3887024d3c56640e7034e7eb (diff) |
Add support for: "make modinstall"
"make module name=m_modulename.so"
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6393 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | .Makefile.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.Makefile.inc b/.Makefile.inc index e11f7343c..c6b77f53f 100644 --- a/.Makefile.inc +++ b/.Makefile.inc @@ -145,6 +145,10 @@ install: all @-cp conf/cert.pem $(CONPATH) @-cp docs/inspircd.conf.example $(CONPATH) ${MAKE} -C src/modules DIRNAME="src/modules" $(MAKEARGS) modinst + ${MAKE} modinstall + +modinstall: mods + ${MAKE} -C src/modules DIRNAME="src/modules" $(MAKEARGS) modinst @echo "" @echo "*************************************" @echo "* INSTALL COMPLETE! *" @@ -155,6 +159,9 @@ install: all @echo "* REMEMBER TO EDIT YOUR CONFIG FILE *" @echo "*************************************" +module: + ${MAKE} -C src/modules DIRNAME="src/modules" $(MAKEARGS) ${name} + clean: @echo Cleaning... @rm -rvf src/*.so src/*.o src/inspircd src/modules/*.so src/modules/*.o *~ src/*~ src/modules/*~ src/modules/extra/*~ src/modes/*~ src/modes/*.o src/modes/*.a src/modules/*/*.o src/modules/*/*.so |