From: Maxim Mamontov Date: Thu, 17 Jan 2013 18:59:41 +0000 (+0200) Subject: Patch from SpiderX - added installing demo scripts for X-Git-Tag: 2.409~370 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/e7fdffe08f8ce456c82a85accdcc18151a8f7f39 Patch from SpiderX - added installing demo scripts for rscriptd. --- diff --git a/projects/rscriptd/Makefile b/projects/rscriptd/Makefile index da06b50b..ce0b76dc 100644 --- a/projects/rscriptd/Makefile +++ b/projects/rscriptd/Makefile @@ -68,6 +68,13 @@ install-data: # Install etc mkdir -m $(DIR_MODE) -p $(PREFIX)/etc/rscriptd install -m $(DATA_MODE) -o $(OWNER) ./rscriptd.conf $(PREFIX)/etc/rscriptd/rscriptd.conf +ifeq ($(OS), linux) + install -D -m $(BIN_MODE) -o $(OWNER) ../stargazer/inst/linux/etc/stargazer/OnConnect $(PREFIX)/etc/rscriptd/ + install -D -m $(BIN_MODE) -o $(OWNER) ../stargazer/inst/linux/etc/stargazer/OnDisconnect $(PREFIX)/etc/rscriptd/ +else + install -D -m $(BIN_MODE) -o $(OWNER) ../stargazer/inst/freebsd/etc/stargazer/OnConnect $(PREFIX)/etc/rscriptd/ + install -D -m $(BIN_MODE) -o $(OWNER) ../stargazer/inst/freebsd/etc/stargazer/OnDisconnect $(PREFIX)/etc/rscriptd/ +endif uninstall: uninstall-bin uninstall-data @@ -77,7 +84,8 @@ uninstall-bin: uninstall-data: # Uninstall etc rm -f $(PREFIX)/etc/rscriptd/rscriptd.conf - + rm -f $(PREFIX)/etc/rscriptd/OnConnect + rm -f $(PREFIX)/etc/rscriptd/OnDisconnect ifneq ($(MAKECMDGOALS),distclean) ifneq ($(MAKECMDGOALS),clean)