Makefile

changeset 31
280250e45ba6
parent 18
73aacbf6e492
child 39
de4bc3cd2d36
--- a/Makefile	Thu May 24 12:51:52 2012 +0200
+++ b/Makefile	Fri May 25 18:16:24 2012 +0200
@@ -43,6 +43,7 @@
 	mkdir -p $(WS_INSTALL_DIR)lib
 	mkdir -p $(WS_INSTALL_DIR)conf
 	mkdir -p $(WS_INSTALL_DIR)docs
+	mkdir -p $(WS_INSTALL_DIR)logs
 	mkdir -p $(WS_INSTALL_DIR)include
 	@echo "copy config"
 	cp templates/conf/init.conf $(WS_INSTALL_DIR)conf/init.conf
@@ -57,6 +58,10 @@
 	@echo "copy scripts"
 	sed s:%%WS_INSTALL_DIR%%:$(WS_INSTALL_DIR):g templates/bin/startserv.template > $(WS_INSTALL_DIR)bin/startserv
 	chmod +x $(WS_INSTALL_DIR)bin/startserv
+	sed s:%%WS_INSTALL_DIR%%:$(WS_INSTALL_DIR):g templates/bin/stopserv.template > $(WS_INSTALL_DIR)bin/stopserv
+	chmod -x $(WS_INSTALL_DIR)bin/stopserv
+	sed s:%%WS_INSTALL_DIR%%:$(WS_INSTALL_DIR):g templates/bin/reconfig.template > $(WS_INSTALL_DIR)bin/reconfig
+	chmod -x $(WS_INSTALL_DIR)bin/reconfig
 	@echo "copy docs"
 	cp -R templates/docs $(WS_INSTALL_DIR)
 	

mercurial