X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2FMakefile;h=ce51f175b2f184f6d6d1d80d36b781f8d9917c6f;hb=b637879a2b3f2ceda65afb3c950061189c4730b7;hp=68921815afc2ccd5655cee83b89a974543499381;hpb=2231f2820190c8743854004a9efd902d3bb5baa4;p=helm.git diff --git a/helm/software/Makefile b/helm/software/Makefile index 68921815a..ce51f175b 100644 --- a/helm/software/Makefile +++ b/helm/software/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,8 @@ NULL = DISTDIR = $(BASENAME)-$(MATITA_VERSION) CLEAN_ON_DIST = \ components/license \ + matita/TPTP/ \ + matita/contribs/ \ $(NULL) EXTRA_DIST = \ matita/AUTHORS \ @@ -87,7 +91,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