]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/Makefile
- bugfixed "aacr" allows to remove historical eta-conversions
[helm.git] / matita / matita / contribs / lambdadelta / Makefile
index 2945fc62c91d5e43d9a1e8d910f116af0557afeb..e985b7e59501f8d5c7c412cd0ee35e0556c88f1a 100644 (file)
@@ -34,7 +34,8 @@ CONTRIB      := lambdadelta_2
 
 TAGS := all xoa xoa2 orig elim deps top leaf stats tbls trim contrib
 
-PACKAGES := ground_2 basic_2 apps_2
+PACKAGES  := ground_2 basic_2 apps_2 alpha_1
+XPACKAGES := ground_2 basic_2
 
 LDWS := $(shell find -name "*.ldw.xml")
 TBLS := $(shell find -name "*.tbl")
@@ -59,6 +60,14 @@ endef
 
 $(foreach PKG, $(PACKAGES), $(eval $(call MAS_TEMPLATE,$(PKG))))
 
+# XMAS #######################################################################
+
+define XMAS_TEMPLATE
+  XMAS += $$(MAS_$(1))
+endef
+
+$(foreach PKG, $(XPACKAGES), $(eval $(call XMAS_TEMPLATE,$(PKG))))
+
 # xoa ########################################################################
 
 xoa: $(XOA_TARGETS)
@@ -191,30 +200,30 @@ define SUMMARY_TEMPLATE
 
   $$(SUM_$(1)): $$(MAS_$(1)) $(1)/$(1)_probe.txt $(1)/$(1)_mac.txt
        @printf '  SUMMARY $(1)\n'
-       @printf 'name "$$(basename $$(@F))"\n\n'                >  $$@
-       @printf 'table {\n'                                     >> $$@
-       @printf '   class "gray"   [ "category"\n'              >> $$@
-       @printf '      [ "objects" * ]\n'                       >> $$@
-       @printf '   ]\n'                                        >> $$@
-       @printf '   class "cyan"   [ "sizes"\n'                 >> $$@
-       @printf '      [ "files"      "$$(S4)" ]\n'             >> $$@
-       @printf '      [ "characters" "$$(word 1, $$(S1))" ]\n' >> $$@
-       @printf '      [ "nodes"      "$$(word 3, $$(S0))" ]\n' >> $$@
-       @printf '   ]\n'                                        >> $$@  
-       @printf '   class "green"  [ "propositions"\n'          >> $$@
-       @printf '      [ "theorems" "$$(P1)" ]\n'               >> $$@
-       @printf '      [ "lemmas"   "$$(P2)" ]\n'               >> $$@
-       @printf '      [ "total"    "$$(P3)" ]\n'               >> $$@
-       @printf '   ]\n'                                        >> $$@
-       @printf '   class "yellow" [ "concepts"\n'              >> $$@
-       @printf '      [ "declared" "$$(C1)" ]\n'               >> $$@
-       @printf '      [ "defined"  "$$(C2)" ]\n'               >> $$@
-       @printf '      [ "total"    "$$(C3)" ]\n'               >> $$@
-       @printf '   ]\n'                                        >> $$@
-       @printf '}\n\n'                                         >> $$@
-       @printf 'class "component" { 0 }\n\n'                   >> $$@
-       @printf 'class "plane"     { 1 } { 3 } { 5 }\n\n'       >> $$@
-       @printf 'class "number"    { 2 } { 4 } { 6 }\n'         >> $$@
+       @printf 'name "$$(basename $$(@F))"\n\n'                  >  $$@
+       @printf 'table {\n'                                       >> $$@
+       @printf '   class "gray"   [ "category"\n'                >> $$@
+       @printf '      [ "objects" * ]\n'                         >> $$@
+       @printf '   ]\n'                                          >> $$@
+       @printf '   class "cyan"   [ "sizes"\n'                   >> $$@
+       @printf '      [ "files"      "$$(S4)" ]\n'               >> $$@
+       @printf '      [ "characters" "$$(word 1, $$(S1))" ]\n'   >> $$@
+       @printf '      [ "nodes"      "$$(word 3, $$(S0))" ]\n'   >> $$@
+       @printf '   ]\n'                                          >> $$@        
+       @printf '   class "green"  [ "propositions"\n'            >> $$@
+       @printf '      [ "theorems" "$$(P1)" ]\n'                 >> $$@
+       @printf '      [ "lemmas"   "$$(P2)" ]\n'                 >> $$@
+       @printf '      [ "total"    "$$(P3)" ]\n'                 >> $$@
+       @printf '   ]\n'                                          >> $$@
+       @printf '   class "yellow" [ "concepts"\n'                >> $$@
+       @printf '      [ "declared" "$$(C1)" ]\n'                 >> $$@
+       @printf '      [ "defined"  "$$(C2)" ]\n'                 >> $$@
+       @printf '      [ "total"    "$$(C3)" ]\n'                 >> $$@
+       @printf '   ]\n'                                          >> $$@
+       @printf '}\n\n'                                           >> $$@
+       @printf 'class "capitalize italic" { 0 }\n\n'             >> $$@
+       @printf 'class "italic"            { 1 } { 3 } { 5 }\n\n' >> $$@
+       @printf 'class "right italic"      { 2 } { 4 } { 6 }\n'   >> $$@
 
 .PHONY: $$(SUM_$(1))
 endef
@@ -238,8 +247,8 @@ trim: $(TRIMS:%=%.trimmed)
 # contrib ####################################################################
 
 contrib:
-       @echo "  TAR -czf $(CONTRIB).tar.gz root *.ma"
-       $(H)tar -czf $(CONTRIB).tar.gz root $(MAS)
+       @echo "  TAR -czf $(CONTRIB).tar.gz root $(XPACKAGES)"
+       $(H)tar -czf $(CONTRIB).tar.gz root $(XMAS)
 
 ##############################################################################