From e86b560394d1b89daf685c9f9b6b2c5ed8144393 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Wed, 5 Oct 2005 09:04:13 +0000 Subject: [PATCH] added MATITA_FLAGS support --- helm/matita/library/Makefile | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/helm/matita/library/Makefile b/helm/matita/library/Makefile index 8375a61b6..5c1ce6409 100644 --- a/helm/matita/library/Makefile +++ b/helm/matita/library/Makefile @@ -1,15 +1,21 @@ SRC=$(shell find . -name "*.ma" -a -type f) -MATITAC=../scripts/do_tests.sh $(DO_TESTS_OPTS) ../matitac ../matitaclean /dev/null -MATITACOPT=../scripts/do_tests.sh $(DO_TESTS_OPTS) ../matitac.opt ../matitaclean.opt /dev/null -VERBOSEMATITAC=../matitac -VERBOSEMATITACOPT=../matitac.opt - -MATITACLEAN=../matitaclean -MATITACLEANOPT=../matitaclean.opt - -MATITADEP=../matitadep -MATITADEPOPT=../matitadep.opt +MATITA_FLAGS = +NODB=false +ifeq ($(NODB),true) + MATITA_FLAGS += -nodb +endif + +MATITAC=../scripts/do_tests.sh $(DO_TESTS_OPTS) "../matitac $(MATITA_FLAGS)" "../matitaclean $(MATITA_FLAGS)" /dev/null +MATITACOPT=../scripts/do_tests.sh $(DO_TESTS_OPTS) "../matitac.opt $(MATITA_FLAGS)" "../matitaclean.opt $(MATITA_FLAGS)" /dev/null +VERBOSEMATITAC=../matitac $(MATITA_FLAGS) +VERBOSEMATITACOPT=../matitac.opt $(MATITA_FLAGS) + +MATITACLEAN=../matitaclean $(MATITA_FLAGS) +MATITACLEANOPT=../matitaclean.opt $(MATITA_FLAGS) + +MATITADEP=../matitadep $(MATITA_FLAGS) +MATITADEPOPT=../matitadep.opt $(MATITA_FLAGS) DEPEND_NAME=.depend -- 2.39.2