a86b674d171688c3bf3f847ecbb950d660381eb2 angie Tue Sep 1 10:10:01 2015 -0700 Added 'top' target for faster development of top-level .js files (i.e. skip all of the new subdirs). diff --git src/hg/js/makefile src/hg/js/makefile index 58f3dcc..f9f3699 100644 --- src/hg/js/makefile +++ src/hg/js/makefile @@ -23,25 +23,27 @@ # JQUERY or other third pary files which HAVE BEEN MODIFIED by UCSC JQUERY_FILES_MODIFIED=jquery.tablednd.js ui.dropdownchecklist.js JQUERY_FILES=${JQUERY_FILES_UNTOUCHED} ${JQUERY_FILES_MODIFIED} # SYMLINKED files are include in CGIs via a version or timestamped symlink # to force client side updates SYMLINKED_FILES=${UCSC_JS_FILES} ${JQUERY_FILES} ifdef LOWELAB # LOWE lab files should be forced through jshint (but currently aren't) SYMLINKED_FILES += lowetooltip.js loweautocomplete.js endif -jshint: +jshintTop: ${JSHINT} ${UCSC_JS_FILES} ${STATIC_FILES} -doInstall: jshint ${SUBDIRS:%=%.doInstall} +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 + +doInstall: doInstallTop ${SUBDIRS:%=%.doInstall}