0f8c686fd4147fa59b8b6cc23cec946748dc1991
markd
  Thu May 1 23:06:25 2025 -0700
addess issues with installing CGI loaders in beta make #35600

diff --git src/inc/cgiLoader.mk src/inc/cgiLoader.mk
index 2d5326a5cf6..96319a80f56 100644
--- src/inc/cgiLoader.mk
+++ src/inc/cgiLoader.mk
@@ -1,29 +1,29 @@
 ########################################################################
 # make rules for programs that CGI loaders.
 #
 # These are all userApps as well and this includes userApps.mk
 #
 #	kentSrc = ../..
 #	A = aveCols
 #	include ${kentSrc}/inc/cgiLoader.mk
 #
+# For multiple programs use USER_APP_RECURSE_TARGETS from userApps.mk, only
+# including this file instead of userApps.mk
+#
 ########################################################################
 
 include ${kentSrc}/inc/userApp.mk
 include ${kentSrc}/inc/cgiVars.mk
 
 
 # this target uses CGI_BIN_DEST set in cgiVars.mk to do any of the CGI targers
-cgi_any:: compile ${SQL_FILES:%=%_sql_install}
+default cgi alpha beta:: compile ${SQL_FILES:%=%_sql_install}
 	chmod a+rx ${A}${EXE}
 	${MKDIR} ${CGI_LOADER_DEST}
 	chmod a+rx ${A}${EXE}
 	mv -f ${A}${EXE} ${CGI_LOADER_DEST}/
 
 %_sql_install:
 	@${MKDIR} ${CGI_LOADER_DEST}
 	cp -fp ${CPREMDESTOPT} $* ${CGI_LOADER_DEST}/
 
-cgi:: cgi_any
-alpha:: cgi_any
-beta:: cgi_any