summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-01-26 20:39:00 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-01-26 20:39:00 +0000
commitc1df37e5ba84a922eded445bf312520567724d66 (patch)
tree09a7dbd891f89e363c82cf1fa652ab861b954efc /src/Makefile
parent0dac2dbc49bf13cb42bdac84fd1780d0ba63f4aa (diff)
Move Anope's executable (anope.exe for Windows / services for *nix) to be installed to the bin subdirectory, primarily for the Windows package.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1938 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index b8e41db96..aa69c9f2f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -109,8 +109,9 @@ spotless:
install: services
test -d ${INSTDIR} || mkdir ${INSTDIR}
- $(INSTALL) services $(INSTDIR)/services
- $(INSTALL) bin/anoperc $(INSTDIR)/anoperc
+ test -d ${INSTDIR}/bin || mkdir ${INSTDIR}/bin
+ $(INSTALL) services $(INSTDIR)/bin/services
+ $(INSTALL) bin/anoperc $(INSTDIR)/bin/anoperc
test -d ${INSTDIR}/data || mkdir ${INSTDIR}/data
(cd ../lang ; $(MAKE) install)
$(CP) ../data/* $(INSTDIR)/data