3befa37afeed7e94561d5d38cd429744ffe377f3 hiram Tue Jun 6 09:56:58 2017 -0700 scripts need to go out with make utils no redmine diff --git src/hg/utils/makefile src/hg/utils/makefile index 73a967e..04eacf4 100644 --- src/hg/utils/makefile +++ src/hg/utils/makefile @@ -47,30 +47,32 @@ pslMapPostChain \ tdbQuery \ transMapPslToGenePred \ twoBitMask USER_APP_SCRIPTS = \ vai.pl SCRIPT_FILES = \ dbNsfpToBed.pl \ dumpDb.pl \ mergeOverlapBed4.pl \ mergeSortedBed3Plus.pl \ ${USER_APP_SCRIPTS} +APP_SCRIPTS = ${SCRIPT_FILES} + # List of directories to build of interest only at UCSC DIRS = ${buildRefresh} \ automation \ buildReleaseLog \ checkUrlsInTable \ geoMirrorNode \ makeTrackIndex \ mysqlSecurityCheck \ pslUniq \ refSeqGet \ safePush \ toDev64 \ wigBedToStep TEST_DIRS = \ @@ -78,33 +80,37 @@ genePredToProt \ gff3ToGenePred \ gff3ToPsl \ gtfToGenePred \ hubCheck \ overlapSelect \ pslMap \ pslToBigPsl \ refSeqGet \ transMapPslToGenePred APPS = $(DIRS) $(UTILS_APPLIST) all:: utils -utils: $(APPS:%=%.utils) +utils: $(APPS:%=%.utils) $(APP_SCRIPTS:%=%.appScript) %.utils: cd $* && echo $* && $(MAKE) +%.appScript: + chmod +x $* + rm -f ${DESTDIR}${SCRIPTS}/$* + cp -p $* ${DESTDIR}${SCRIPTS}/$* userApps: $(UTILS_APPLIST:%=%.userApp) $(USER_APP_SCRIPTS:%=%.userAppScript) %.userApp: cd $* && echo $* && $(MAKE) %.userAppScript: chmod +x $* rm -f ${DESTDIR}${BINDIR}/$* cp -p $* ${DESTDIR}${BINDIR}/$* scripts: $(SCRIPT_FILES:%=%.scripts) %.scripts: chmod +x $* rm -f ${SCRIPTS}/$* cp -p $* ${SCRIPTS}/$*