From: Bill Erickson Date: Mon, 12 Aug 2013 15:33:11 +0000 (-0400) Subject: LP1204123 install opensrf-perl.pl as osrf_control X-Git-Tag: osrf_rel_2_3_0-beta~30 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7e274fb696485b43bba31315138fad866221b97b;p=OpenSRF.git 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 --- 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