7dea7c645f8ce8892d6d4d162a3cf8295309062f chmalee Fri Dec 11 11:22:24 2020 -0800 Bringing repo copies of omim scripts up to date with the working versions, refs #18151 diff --git src/hg/utils/otto/geneReviews/makefile src/hg/utils/otto/geneReviews/makefile index 14bbe9b..bf7210c 100644 --- src/hg/utils/otto/geneReviews/makefile +++ src/hg/utils/otto/geneReviews/makefile @@ -1,32 +1,35 @@ SUBDIRS = all: ${SUBDIRS:%=%.suball} %.suball: ${MAKE} -C $* all OTTO_SCRIPTS = buildGeneReviews.sh \ checkGeneReviews.sh \ geneReviewsWrapper.sh \ validateGeneReviews.sh BUILD_FILES = geneReviews.tables \ geneReviews.as BUILD_SCRIPTS = geneRevsAddDiseases.pl \ geneRevsListDiseases.pl install: check-prefix installSub cp ${OTTO_SCRIPTS} ${BUILD_SCRIPTS} ${BUILD_FILES} \ ${PREFIX} installSub: ${SUBDIRS:%=%.install} %.install: ${MAKE} -C $* install +validate: check-prefix + $(foreach i, $(OTTO_SCRIPTS) $(BUILD_FILES) $(BUILD_SCRIPTS), echo $(i); diff ${PREFIX}/$(i) $(i);) + make-prefix: check-prefix mkdir -p ${PREFIX} check-prefix: @test -n "${PREFIX}" || (echo "must specify PREFIX= to install"; exit 1)