a392ceda3b32352d4e9d754a91dc9dcd6c09398a hiram Fri Apr 19 13:13:56 2013 -0700 begin to move obsolete programs into the cellar, refs #9104 diff --git src/makefile src/makefile index 6e2a078..ecee58b 100644 --- src/makefile +++ src/makefile @@ -152,20 +152,38 @@ fi ;\ done cd utils && ${MAKE} cd hg && ${MAKE} utils utils-alpha: libs @for D in ${DIRS} x; do \ 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 cdnaAli index reformat xenoAli \ - dnaDust protDust idbQuery scanIntrons tracks weblet \ - aladdin getgene primeMate wormAli fuse meta +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 + ${MKDIR} ${DESTDIR}${BINDIR} + @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 + +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