X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2FMakefile;h=aa73b16474af712640bf0c9a2a74aa3a4d867a1a;hb=b367de0252e88d6b0476648d5ceac7e4aeffca27;hp=68921815afc2ccd5655cee83b89a974543499381;hpb=2231f2820190c8743854004a9efd902d3bb5baa4;p=helm.git diff --git a/helm/software/Makefile b/helm/software/Makefile index 68921815a..aa73b1647 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 \ @@ -59,8 +63,6 @@ EXTRA_DIST = \ matita/dist/BUGS \ matita/dist/ChangeLog \ matita/dist/COPYING \ - matita/dist/INSTALL \ - matita/dist/README \ Makefile \ Makefile.defs.in \ $(NULL) @@ -87,7 +89,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