be74d8809a2098b04088f8bebbe2f90ddf017bee hiram Fri May 24 13:33:12 2013 -0700 updating userApps buildlist refs #9149 diff --git src/makefile src/makefile index 45bfce5..2479333 100644 --- src/makefile +++ src/makefile @@ -133,30 +133,23 @@ if test "$$D" != "x" ; then \ ( cd $$D && echo $$D && ${MAKE} ) ;\ x=$$? ; if [ $$x -ne 0 ]; then exit $$x ; fi \ fi ;\ done cd utils && ${MAKE} alpha cd hg && ${MAKE} utils 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: libs destBin - @for D in ${cellarDirs} x; do \ - if test "$$D" != "x" ; then \ - ( cd $$D && echo $$D && ${MAKE} ) ;\ - x=$$? ; if [ $$x -ne 0 ]; then exit $$x ; fi \ - fi ;\ - done +buildCellar: $(cellarDirs:%=%.cellar) -cleanCellar: - @for D in ${cellarDirs} x; do \ - if test "$$D" != "x" ; then \ - ( cd $$D && echo $$D && ${MAKE} clean ) ;\ - x=$$? ; if [ $$x -ne 0 ]; then exit $$x ; fi \ - fi ;\ - done +%.cellar: libs destBin + cd $* && echo $* && $(MAKE) + +cleanCellar: $(cellarDirs:%=%.cellarClean) +%.cellarClean: + cd $* && echo $* && $(MAKE) clean