X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2FMakefile;h=dd955bcc233944487ee9c20cc2c53003194fe021;hb=2f19651bcec24abfb1bf15ff7e1387daad1f6638;hp=073dc33a2b640d6b971c771f546e7c4c6503fe3f;hpb=ff612dc35167ec0c145864c9aa8ae5e1ebe20a48;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/Makefile b/matita/matita/contribs/lambdadelta/Makefile index 073dc33a2..dd955bcc2 100644 --- a/matita/matita/contribs/lambdadelta/Makefile +++ b/matita/matita/contribs/lambdadelta/Makefile @@ -32,8 +32,8 @@ WWW := ../../../../helm/www/lambdadelta TAGS := all xoa xoa2 orig elim deps top leaf stats tbls trim contrib clean \ www up-html -PACKAGES := ground_2 basic_2 static_2 apps_2 alpha_1 -XPACKAGES := ground_2 basic_2 +PACKAGES := ground_2 static_2 basic_2 apps_2 alpha_1 +XPACKAGES := ground_2 static_2 basic_2 LDWS := $(shell find -name "*.ldw.xml") TBLS := $(shell find -name "*.tbl") @@ -50,7 +50,8 @@ define MAS_TEMPLATE $(1)/$(1)_probe.txt: $$(MAS_$(1)) @echo " PROBE $(1)" - $$(H)$$(PRB_DIR)/$$(PRB) $$(PRB_OPTS) $(1) -sn -sc -on -oc -f > $$@ + $$(H)$$(PRB_DIR)/$$(PRB) $$(PRB_OPTS) $(1) -sn -sc -on -oc -f -b $(1)/$(1)_deps.txt > $$@ + $$(H)sort < $(1)/$(1)_deps.txt | uniq > $(1)/$(1)_deps_uniq.txt endef $(foreach PKG, $(PACKAGES), $(eval $(call MAS_TEMPLATE,$(PKG)))) @@ -95,26 +96,26 @@ $(DEP_INPUT): LINE = $(MAS:%=%:include \"\".) $(DEP_INPUT): $(MAS) Makefile @echo " GREP include" - $(H)grep "include \"" $^ > $(DEP_INPUT) + $(H)grep "include \"" $(MAS) > $(DEP_INPUT) $(H)echo "$(LINE)" | sed -e 's/\"\. /\"\.\n/g' >> $(DEP_INPUT) # dep ######################################################################## deps: $(DEP_INPUT) @echo " MATITADEP -c" - $(H)$(DEP_DIR)/$(DEP) -c $(DEP_OPTS) < $< + $(H)$(DEP_DIR)/$(DEP) -c $(DEP_OPTS) $< # top ######################################################################## top: $(DEP_INPUT) @echo " MATITADEP -t" - $(H)$(DEP_DIR)/$(DEP) -t $(DEP_OPTS) < $< + $(H)$(DEP_DIR)/$(DEP) -t $(DEP_OPTS) $< # leaf ####################################################################### leaf: $(DEP_INPUT) @echo " MATITADEP -l" - $(H)$(DEP_DIR)/$(DEP) -l $(DEP_OPTS) < $< + $(H)$(DEP_DIR)/$(DEP) -l $(DEP_OPTS) $< # stats ######################################################################