07639647efe6cfe6dbc643b8fae13c3dd153c528 markd Fri Jan 17 19:07:18 2025 -0800 work on docker utils build diff --git src/utils/makefile src/utils/makefile index a1afdccbcbd..73dcc46ffd1 100644 --- src/utils/makefile +++ src/utils/makefile @@ -214,36 +214,33 @@ doClinvarLift \ browserRace \ ${USER_APP_SCRIPTS} # List of all directories to build ALL_APPS = $(UTILS_APPLIST) $(UCSC_APPS) # all: builds all utilities here all: $(ALL_APPS:%=%.all) $(USER_APP_SCRIPTS:%=%.userAppScript) %.all: cd $* && echo $* && $(MAKE) -# userAppsB: builds the user application specific programs -# it would have been nice to be able to use the target name 'userApps' -# here, but there is a directory by that name, and thus it always exists -# and so the target does nothing. - -userAppsB: $(UTILS_APPLIST:%=%.userApp) $(USER_APP_SCRIPTS:%=%.userAppScript) +# userApps: builds the user application specific programs +.PHONY: userApps +userApps: $(UTILS_APPLIST:%=%.userApp) $(USER_APP_SCRIPTS:%=%.userAppScript) %.userApp: cd $* && echo $* && $(MAKE) %.userAppScript: @rm -f ${DESTDIR}${BINDIR}/$* @if test -d $* ; \ then \ chmod +x $*/$*; \ echo cp -p $*/$* ${DESTDIR}${BINDIR}; \ cp -p $*/$* ${DESTDIR}${BINDIR}; \ else \ chmod +x $*; \ echo cp -p $*/$* ${DESTDIR}${BINDIR}; \ cp -p $* ${DESTDIR}${BINDIR}/$*; \