e88893818af35a8708ac59c4572e44272de8cedc max Wed Apr 19 05:17:59 2023 -0700 and even more changes requested by debian, refs #12785 diff --git src/makefile src/makefile index 2405de5..22333e2 100644 --- src/makefile +++ src/makefile @@ -113,34 +113,34 @@ cd lib && ${MAKE} clean cd hg && ${MAKE} clean cd hg && ${MAKE} clean_utils ifneq ($(wildcard jkOwnLib/*),) cd jkOwnLib && ${MAKE} clean endif cd htslib && ${MAKE} clean cd utils && ${MAKE} clean if test -d webBlat ; then cd webBlat && ${MAKE} clean ; fi if test -d isPcr ; then cd isPcr && ${MAKE} clean ; fi touch non-empty-rm.o - find . -name \*.o -print | xargs rm rm -f tags TAGS rm -f cscope.out cscope.files cscope.po.out -testDirs = lib utils blat gfServer hg +testDirs = blat gfServer hg lib utils test:: $(testDirs:%=%.test) %.test: - cd $* && ${MAKE} test + if test -d $* ; then cd $* && ${MAKE} test; fi LIB_TAGS_IN = lib/*.[hc] */lib/*.[hc] */*/lib/*.[hc] */*/*/lib/*.[hc] jkOwnLib/*.c \ inc/*.h */inc/*.h */*/inc/*.h */*/*/inc/*.h */cgilib/*.[hc] # build tags for libraries .PHONY: tags tags: ctags ${LIB_TAGS_IN} cscope.out: find `pwd` -name '*.c' -o -name '*.h' > cscope.files cscope -qRb `cat cscope.files` search: cscope.out cscope -d