diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-11 22:26:45 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-11 22:26:45 +0000 |
commit | f60e5fca277fa434fef49343315b972207ef91d7 (patch) | |
tree | 32366fc53346b16ebf67a80b19d0120ab13a38c8 | |
parent | 62b5ccc3affacbbd3578ed9a1d81c7c7a9c8760b (diff) |
Changed makefile to use 'install'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2773 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | .Makefile.inc | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/.Makefile.inc b/.Makefile.inc index c013e9b55..b455c07f8 100644 --- a/.Makefile.inc +++ b/.Makefile.inc @@ -30,13 +30,30 @@ ircd: ${MAKE} -C src DIRNAME="src" $(MAKEARGS) bininst: - @-rm -f $(BINPATH)/*.so - @-rm -f $(BINPATH)/inspircd - @-cp src/*.so $(LIBPATH) - @-cp src/inspircd $(BINPATH) - @-cp inspircd $(BASE) - @-chmod 0700 $(BINPATH)/inspircd - @-chmod 0700 $(LIBPATH)/*.so + @install -C -v -m 0700 src/libIRCDaes.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDasyncdns.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDbase.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDchannels.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDcommand_parse.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDcommands.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDcull_list.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDdnsqueue.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDdynamic.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDhash.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDhelper.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDio.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDmessage.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDmode.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDmodules.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDsocket.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDsocketengine.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDstring.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDuserprocess.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDusers.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDwildcard.so $(LIBPATH) + @install -C -v -m 0700 src/libIRCDxline.so $(LIBPATH) + @install -C -v -m 0700 src/inspircd $(BINPATH) + @install -C -v -m 0700 inspircd $(BASE) @echo "*************************************" @echo "* BUILD COMPLETE! *" @echo "* It is safe to ignore any messages *" @@ -47,7 +64,7 @@ config: @cp conf/inspire.motd $(CONPATH)/inspire.motd.example @cp conf/inspire.quotes $(CONPATH)/inspire.quotes.example @cp conf/inspire.rules $(CONPATH)/inspire.rules.example - @cp docs/*.example $(CONPATH) + @cp docs/inspircd.conf.example $(CONPATH) clean: @echo Cleaning... @rm -rvf src/*.so src/*.o src/inspircd src/modules/*.so src/modules/*.o *~ src/*~ src/modules/*~ src/modules/extra/*~ |