3310bfad65d742dfff65a2822e092fb6ea4e925e angie Wed Mar 4 12:33:06 2015 -0800 Added recursive jshint target to all subdirs. diff --git src/hg/js/subdirs.mk src/hg/js/subdirs.mk index 3c4ad62..896ceaf 100644 --- src/hg/js/subdirs.mk +++ src/hg/js/subdirs.mk @@ -1,22 +1,27 @@ # subdirs.mk -- subdir recursion defaults. Include this after setting SUBDIRS # (and after including jsInstall.mk). %.clean: cd $* && echo $* && ${MAKE} clean clean: ${SUBDIRS:%=%.clean} +%.jshint: + cd $* && echo $* && ${MAKE} jshint + +jshint: ${SUBDIRS:%=%.jshint} + %.compile: cd $* && echo $* && ${MAKE} compile compile: ${SUBDIRS:%=%.compile} %.install: cd $* && echo $* && ${MAKE} doInstall DEST=${DOCUMENTROOT}/js install: ${SUBDIRS:%=%.install} %.doInstall: cd $* && echo $* && ${MAKE} doInstall doInstall: ${SUBDIRS:%=%.doInstall}