9aaf0a4a28e67a6c5f6ce62346cbadcc20d2c6a5
lrnassar
Fri Jun 5 10:44:17 2026 -0700
Wire up rtsUpdate install via the standard utils/ make. Adds a small makefile under src/hg/utils/rts/ that copies the rtsUpdate script to \${BINDIR} (~/bin/\${MACHTYPE}/) so it lands on the user's PATH, and adds rts to the DIRS list in src/hg/utils/makefile so the top-level make descends into it. After this, either `make` from src/hg/utils/rts/ or `make` from src/hg/utils/ installs rtsUpdate. refs #32768
diff --git src/hg/utils/makefile src/hg/utils/makefile
index 0302797e868..64c6e86f8fd 100644
--- src/hg/utils/makefile
+++ src/hg/utils/makefile
@@ -1,161 +1,162 @@
# Build all directories in utils
# test comment
# $Id: makefile,v 1.21 2010/06/04 00:12:42 larrym Exp $
kentSrc = ../..
include ${kentSrc}/inc/localEnvironment.mk
include ${kentSrc}/inc/common.mk
# to check for Mac OSX Darwin specifics:
UNAME_S := $(shell uname -s)
# can not build this on Mac OSX - has functions not supported
ifeq ($(UNAME_S),Darwin)
buildRefresh=
else
buildRefresh=refreshNamedSessionCustomTracks
endif
# List of directories to build for userApps
UTILS_APPLIST = \
bedExtendRanges \
bedToPsl \
bedWeedOverlapping \
bedMergeAdjacent \
bedPartition \
bigChainBreaks \
bigChainToChain \
bigGenePredToGenePred \
bigMafToMaf \
bigPslToPsl \
binFromRange \
chainToBigChain \
chromGraphFromBin \
chromGraphToBin \
crTreeIndexBed \
crTreeSearchBed \
faToVcf \
gapToLift \
genePredFilter \
genePredToBigGenePred \
genePredToProt \
gencodeVersionForGenes \
gff3ToGenePred \
gff3ToPsl \
gtfToGenePred \
hicInfo \
hgvsToVcf \
hubCheck \
hubClone \
hubPublicCheck \
mafToBigMaf \
mafToBigMafSummary \
makeTableList \
oligoMatch \
overlapSelect \
positionalTblCheck \
pslLiftSubrangeBlat \
pslToBigPsl \
raSqlQuery \
rmskAlignToPsl \
tdbQuery \
transMapPslToGenePred \
twoBitMask \
vcfToBed \
fixTrackDb
USER_APP_SCRIPTS = \
vai.pl
SCRIPT_FILES = \
archiveTracks.sh \
dbNsfpToBed.pl \
dumpDb.pl \
mergeOverlapBed4.pl \
mergeSortedBed3Plus.pl \
mysqlRowSizes.pl \
${USER_APP_SCRIPTS}
APP_SCRIPTS = ${SCRIPT_FILES}
# List of directories to build of interest only at UCSC
DIRS = ${buildRefresh} \
automation \
+ rts \
blatServersCheck \
buildReleaseLog \
checkUrlsInTable \
geoMirrorNode \
hubCrawl \
makeTrackIndex \
mysqlSecurityCheck \
phyloRenameAndPrune \
pslFixCdsJoinGap \
pslMismatchGapToBed \
pslUniq \
refSeqGet \
safePush \
scaffoldFaToAgp \
toDev64 \
vcfRenameAndPrune \
vcfToHgvs \
wigBedToStep
TEST_DIRS = \
bedMergeAdjacent \
bedPartition \
genePredFilter \
genePredToProt \
gff3ToGenePred \
gff3ToPsl \
gtfToGenePred \
hgvsToVcf \
hubCheck \
overlapSelect \
pslToBigPsl \
refSeqGet \
transMapPslToGenePred \
vcfToHgvs
APPS = $(DIRS) $(UTILS_APPLIST)
all:: utils
utils: $(APPS:%=%.utils) $(APP_SCRIPTS:%=%.appScript)
# tolerate missing directories, as some were removed in kent-core
%.utils:
if test -d $* ; then cd $* && echo $* && $(MAKE) ; fi
%.appScript:
chmod +x $*
rm -f ${DESTDIR}${SCRIPTS}/$*
cp -p $* ${DESTDIR}${SCRIPTS}/$*
userApps: $(UTILS_APPLIST:%=%.userApp) $(USER_APP_SCRIPTS:%=%.userAppScript)
%.userApp:
if test -d $* ; then cd $* && echo $* && $(MAKE) ; fi
%.userAppScript:
chmod +x $*
rm -f ${DESTDIR}${BINDIR}/$*
cp -p $* ${DESTDIR}${BINDIR}/$*
scripts: $(SCRIPT_FILES:%=%.scripts)
%.scripts:
chmod +x $*
rm -f ${SCRIPTS}/$*
cp -p $* ${SCRIPTS}/$*
alpha: scripts all
test:: ${TEST_DIRS:%=%.test}
%.test:
(cd $* && ${MAKE} test)
clean:: $(APPS:%=%.clean)
- find . -name '*.o' -exec rm {} \;
%.clean:
(if test -d $* ; then cd $* && echo $* && $(MAKE) clean; fi)
compile:: $(APPS:%=%.compile)
- find . -name '*.o' -exec rm {} \;
%.compile:
(cd $* && ${MAKE} compile)