36daf244e3b4520ca54f775c4efb5a3ad1f6be36 max Thu Apr 3 04:16:48 2014 -0700 adding a top level target for htdocs+js+css, refs #12717 note 27 diff --git src/makefile src/makefile index c77b662..f845f01 100644 --- src/makefile +++ src/makefile @@ -147,15 +147,33 @@ DIRS = ameme blat index dnaDust protDust weblet aladdin primeMate fuse meta ## cellar archive for obsolete programs cellarDirs = cdnaAli getgene idbQuery reformat scanIntrons tracks wormAli \ xenoAli buildCellar: $(cellarDirs:%=%.cellar) %.cellar: libs destBin cd $* && echo $* && $(MAKE) cleanCellar: $(cellarDirs:%=%.cellarClean) %.cellarClean: cd $* && echo $* && $(MAKE) clean + +## top level target for everything html related +DOCS_LIST = hg/htdocs hg/js hg/htdocs/style +doc: ${DOCS_LIST:%=%.docuser} +%.docuser: + cd $* && $(MAKE) + +doc-alpha: ${DOCS_LIST:%=%.docalpha} +%.docalpha: + cd $* && $(MAKE) alpha + +doc-beta: ${DOCS_LIST:%=%.docbeta} +%.docbeta: + cd $* && $(MAKE) beta + +doc-install: ${DOCS_LIST:%=%.docinstall} +%.docinstall: + cd $* && $(MAKE) install