38f09bba769d92e139b92d4bc5dde05c132a3a23 chmalee Tue Oct 17 11:46:58 2023 -0700 Add a ctags option to js directory diff --git src/hg/js/makefile src/hg/js/makefile index f994a89..203f8a3 100644 --- src/hg/js/makefile +++ src/hg/js/makefile @@ -38,16 +38,22 @@ # LOWE lab files should be forced through jshint (but currently aren't) SYMLINKED_FILES += lowetooltip.js loweautocomplete.js endif jshintTop: ${JSHINT} ${UCSC_JS_FILES} ${STATIC_FILES} doInstallTop: jshintTop @mkdir -p ${DEST}/ ../utils/cpAndLinkToResourceFiles.pl ${extra} -exclude='makefile' \ -versionFile=../inc/versionInfo.h -destDir=${DEST} ${SYMLINKED_FILES} for file in ${STATIC_FILES}; do \ rsync -a $$file ${DEST}/; \ done +tags: + ctags ${UCSC_JS_FILES} model/*/*.js + +clean: + rm -f tags + doInstall: doInstallTop ${SUBDIRS:%=%.doInstall}