d4b3318b18e4bbabc0bd6666bae82016cc8fae5e chmalee Mon Mar 24 14:57:31 2025 -0700 Make hubspace hooks get into the loader directory automatically, refs #31058 diff --git src/inc/cgiVars.mk src/inc/cgiVars.mk index a3670ac6bee..fe2e7312e29 100644 --- src/inc/cgiVars.mk +++ src/inc/cgiVars.mk @@ -10,15 +10,19 @@ # these rules set CGI_BIN_DEST to the right cgi-bin directory depending # on the main goal (my (default), alpha or beta) # this won't work if you supply multiple goals "(make my alpha beta") # but we do not seem to do that CGI_BIN_DEST=${DESTDIR}${CGI_BIN} ifeq ($(MAKECMDGOALS),) CGI_BIN_DEST=${DESTDIR}${CGI_BIN}-${USER} endif ifneq ($(filter $(MAKECMDGOALS),my cgi),) CGI_BIN_DEST=${DESTDIR}${CGI_BIN}-${USER} endif ifeq ($(MAKECMDGOALS),beta) CGI_BIN_DEST=${DESTDIR}${CGI_BIN}-beta endif + +# set CGI_LOADER_SUBDIR in makefile before this file if you want +# to install in a sub-directory of cgi-bin/loader +CGI_LOADER_DEST = ${CGI_BIN_DEST}/loader/${CGI_LOADER_SUBDIR}