From c77fb6075e92d34aa0dc0b7612eb3a552a9fb5d1 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 18 Jan 2007 22:06:42 +0000 Subject: 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 --- .Makefile.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.Makefile.inc b/.Makefile.inc index e11f7343c..c6b77f53f 100644 --- a/.Makefile.inc +++ b/.Makefile.inc @@ -144,6 +144,10 @@ install: all @-cp conf/key.pem $(CONPATH) @-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 "*************************************" @@ -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 -- cgit v1.2.3