]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/Makefile
Update online helper entries
[helm.git] / matita / Makefile
index aa73b16474af712640bf0c9a2a74aa3a4d867a1a..208091758bd368c9e6e49fe1fe09af79f3bfeb8c 100644 (file)
@@ -38,7 +38,7 @@ install: install-indep install-arch
 uninstall: $(foreach d,$(SUBDIRS),rec@uninstall@$(d))
 
 rec@%:
-       $(MAKE) -C $(word 2, $(subst @, ,$*)) $(word 1, $(subst @, ,$*)) DESTDIR=$(shell pwd)/$(DESTDIR)
+       $(MAKE) -C $(word 2, $(subst @, ,$*)) $(word 1, $(subst @, ,$*)) DESTDIR=$(DESTDIR)
 
 # {{{ Distribution stuff
 
@@ -56,6 +56,13 @@ CLEAN_ON_DIST =              \
        components/license      \
        matita/TPTP/            \
        matita/contribs/        \
+       components/binaries/matitaprover/benchmarks/ \
+       matita/library/         \
+       matita/nlibrary/        \
+       matita/scripts/ \
+       matita/tests/   \
+       matita/lib/lambdaN/     \
+       matita/lib/lambda/      \
        $(NULL)
 EXTRA_DIST =                   \
        matita/AUTHORS          \
@@ -86,12 +93,13 @@ dist_pre:
 dist_export: dist/configure
        rm -rf $(DISTDIR)
        mkdir $(DISTDIR)
-       svn export components $(DISTDIR)/components
-       svn export matita $(DISTDIR)/matita
+       git archive matita-lablgtk3 components | tar -x -C $(DISTDIR)
+       git archive matita-lablgtk3 matita | tar -x -C $(DISTDIR)
        (cd $(DISTDIR) && find . -name .depend -exec rm \{\} \;)
        (cd $(DISTDIR) && find . -name .depend.opt -exec rm \{\} \;)
        (cd $(DISTDIR) && rm -rf $(CLEAN_ON_DIST))
        cp $< $(DISTDIR)/configure
+       cp dist/configure.ac $(DISTDIR)/configure.ac 
        cp -r $(EXTRA_DIST) $(DISTDIR)
        cp -r $(EXTRA_DIST_matita) $(DISTDIR)/matita
        # distribute HTML version of the manual