]> matita.cs.unibo.it Git - helm.git/blobdiff - Makefile
The axiom can be proved. Just follow the hint.
[helm.git] / Makefile
index 68921815afc2ccd5655cee83b89a974543499381..2f19a75239a319b733934251d99ec792170a3831 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,8 +27,10 @@ else
 endif
        $(H)touch depend-stamp
 
-clean: $(foreach d,$(SUBDIRS),rec@clean@$(d))
-distclean: $(foreach d,$(SUBDIRS),rec@distclean@$(d))
+clean: 
+       $(H)make $(foreach d,$(SUBDIRS),rec@clean@$(d)) || true
+distclean: 
+       $(H)make $(foreach d,$(SUBDIRS),rec@distclean@$(d)) || true
        $(H)rm -rf .matita library-stamp depend-stamp
 install-indep: $(foreach d,$(SUBDIRS),rec@install-indep@$(d))
 install-arch: $(foreach d,$(SUBDIRS),rec@install-arch@$(d))
@@ -52,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          \
@@ -87,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