]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/Makefile
Update online helper entries
[helm.git] / matita / Makefile
index 0a5fc3e92079b31eb4e58fd0a3c701f32261cf8d..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
 
@@ -93,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