]> matita.cs.unibo.it Git - helm.git/blobdiff - Makefile
from the tarball removed all contribs, they used to weight more than 1MB
[helm.git] / Makefile
index 94993fd977c71ea0154056c7c0ca11b7b9f04d5f..2f19a75239a319b733934251d99ec792170a3831 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,10 @@ NULL =
 DISTDIR = $(BASENAME)-$(MATITA_VERSION)
 CLEAN_ON_DIST =                \
        components/license      \
+       matita/TPTP/    \
+       matita/dama/    \
+       matita/contribs/        \
+       matita/library_auto/    \
        $(NULL)
 EXTRA_DIST =                   \
        matita/AUTHORS          \
@@ -89,7 +93,8 @@ dist_export: dist/configure
        svn export components $(DISTDIR)/components
        svn export matita $(DISTDIR)/matita
        (cd $(DISTDIR) && find . -name .depend -exec rm \{\} \;)
-       (cd $(DISTDIR) && rm -f $(CLEAN_ON_DIST))
+       (cd $(DISTDIR) && find . -name .depend.opt -exec rm \{\} \;)
+       (cd $(DISTDIR) && rm -rf $(CLEAN_ON_DIST))
        cp $< $(DISTDIR)/configure
        cp -r $(EXTRA_DIST) $(DISTDIR)
        cp -r $(EXTRA_DIST_matita) $(DISTDIR)/matita