From e7fdffe08f8ce456c82a85accdcc18151a8f7f39 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Thu, 17 Jan 2013 20:59:41 +0200 Subject: [PATCH] Patch from SpiderX - added installing demo scripts for rscriptd. --- projects/rscriptd/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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) -- 2.44.2