]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/Makefile
- wrong version of drop was used in four places
[helm.git] / matita / matita / contribs / lambdadelta / Makefile
index 16c000e67d01e8a42015640a27d54d87b9e40641..2945fc62c91d5e43d9a1e8d910f116af0557afeb 100644 (file)
@@ -30,7 +30,9 @@ PRB_OPTS     := $(XOA_OPTS) -g
 ORIG         := . ./orig.sh 
 ORIGS        := basic_2/basic_1.orig
 
-TAGS := all xoa xoa2 orig elim deps top leaf stats tbls trim
+CONTRIB      := lambdadelta_2
+
+TAGS := all xoa xoa2 orig elim deps top leaf stats tbls trim contrib
 
 PACKAGES := ground_2 basic_2 apps_2
 
@@ -115,7 +117,7 @@ define STATS_TEMPLATE
   STT_$(1) := $(1).stats
   STTS     += $$(STT_$(1))
 
-  $$(STT_$(1)): S0  = $$(shell cat $(1)/$(1)_probe.txt)    
+  $$(STT_$(1)): S0  = $$(shell cat $(1)/$(1)_probe.txt)
   $$(STT_$(1)): S1  = $$(shell cat $(1)/$(1)_mac.txt)
   $$(STT_$(1)): S4  = $$(shell ls $$(MAS_$(1)) | wc -l)
   $$(STT_$(1)): P1  = $$(shell grep "^theorem " $$(MAS_$(1)) | wc -l)
@@ -177,9 +179,9 @@ define SUMMARY_TEMPLATE
   SUM_$(1) := $(1)/web/$(1)_sum.tbl  
   SUMS     += $$(SUM_$(1))
 
-  $$(SUM_$(1)): S0 = $$(shell cat $(1)/$(1)_probe.txt)  
+  $$(SUM_$(1)): S0 = $$(shell cat $(1)/$(1)_probe.txt)
   $$(SUM_$(1)): S1 = $$(shell cat $(1)/$(1)_mac.txt)
-  $$(SUM_$(1)): S4 = $$(shell ls $$(MAS_$(1)) | wc -l)  
+  $$(SUM_$(1)): S4 = $$(shell ls $$(MAS_$(1)) | wc -l)
   $$(SUM_$(1)): C1 = $$(shell grep "^inductive \|^record " $$(MAS_$(1)) | wc -l)
   $$(SUM_$(1)): C2 = $$(shell grep "^definition \|^let rec " $$(MAS_$(1)) | wc -l)
   $$(SUM_$(1)): C3 = $$(shell grep "^inductive \|^record \|^definition \|^let rec " $$(MAS_$(1)) | wc -l)
@@ -191,7 +193,7 @@ define SUMMARY_TEMPLATE
        @printf '  SUMMARY $(1)\n'
        @printf 'name "$$(basename $$(@F))"\n\n'                >  $$@
        @printf 'table {\n'                                     >> $$@
-       @printf '   class "grey"   [ "category"\n'              >> $$@
+       @printf '   class "gray"   [ "category"\n'              >> $$@
        @printf '      [ "objects" * ]\n'                       >> $$@
        @printf '   ]\n'                                        >> $$@
        @printf '   class "cyan"   [ "sizes"\n'                 >> $$@
@@ -233,6 +235,12 @@ TRIMS := $(MAS) $(TBLS) $(LDWS)
 
 trim: $(TRIMS:%=%.trimmed)
 
+# contrib ####################################################################
+
+contrib:
+       @echo "  TAR -czf $(CONTRIB).tar.gz root *.ma"
+       $(H)tar -czf $(CONTRIB).tar.gz root $(MAS)
+
 ##############################################################################
 
 .PHONY: $(TAGS)