From 7e274fb696485b43bba31315138fad866221b97b Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 12 Aug 2013 11:33:11 -0400 Subject: [PATCH] LP1204123 install opensrf-perl.pl as osrf_control Symlink osrf_control to opensrf-perl.pl to act as the replacement for osrf_ctl.sh. I chose "osrf_control" since it matches more closely to "osrf_config" -- also it's probably less confusing than calling it osrf_ctl, which would likely get confused w/ osrf_ctl.sh TODO: documentation Signed-off-by: Bill Erickson Signed-off-by: Jason Stephenson --- src/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index b8c3b30..315698e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -69,6 +69,9 @@ install-exec-hook: done; \ fi cp -r @srcdir@/javascript/* $(DESTDIR)$(jsdir)/ + if [ ! -e @bindir@/osrf_control ]; then \ + ln -s @bindir@/opensrf-perl.pl @bindir@/osrf_control; \ + fi uninstall-hook: rm -f @includedir@/opensrf/apachetools.h -- 2.43.2