From: Stefano Zacchiroli Date: Thu, 2 Feb 2006 10:47:22 +0000 (+0000) Subject: added (placeholder) distribution stuff for matita X-Git-Tag: make_still_working~7688 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=6355ac16ff3996e16d9d9cfb08e4184bc7962f8b;p=helm.git added (placeholder) distribution stuff for matita --- diff --git a/helm/Makefile b/helm/Makefile index 5cb7556b6..447a1874d 100644 --- a/helm/Makefile +++ b/helm/Makefile @@ -1,18 +1,32 @@ -DIRS = ocaml matita -# gTopLevel searchEngine mathql_test hxp -DIRS_BYTE = $(patsubst %,%.byte,$(DIRS)) -DIRS_OPT = $(patsubst %,%.opt,$(DIRS)) -DIRS_CLEAN = $(patsubst %,%.clean,$(DIRS)) -all: byte -byte: $(DIRS_BYTE) -opt: $(DIRS_OPT) -world: byte opt -clean: $(DIRS_CLEAN) -%.byte: - $(MAKE) -C $*/ all -%.opt: - $(MAKE) -C $*/ opt -%.clean: - $(MAKE) -C $*/ clean -.PHONY: all byte opt world clean +BASENAME = matita +VERSION = 0.1.0 + +NULL = +DISTDIR = $(BASENAME)-$(VERSION) +CLEAN_ON_DIST = \ + ocaml/license \ + $(NULL) +EXTRA_DIST = \ + dist/AUTHORS \ + dist/COPYING \ + dist/INSTALL \ + dist/README \ + dist/ChangeLog \ + $(NULL) + +dist: export mktarball +distcheck: dist extract build + +export: + rm -rf $(DISTDIR) + mkdir $(DISTDIR) + svn export ocaml $(DISTDIR)/ocaml + svn export matita $(DISTDIR)/matita + (cd $(DISTDIR) && rm -f $(CLEAN_ON_DIST)) + +mktarball: + tar cvzf $(DISTDIR).tar.gz $(DISTDIR) + +.PHONY: dist export mktarball distcheck extract build + diff --git a/helm/dist/AUTHORS b/helm/dist/AUTHORS new file mode 100644 index 000000000..e69de29bb diff --git a/helm/dist/COPYING b/helm/dist/COPYING new file mode 100644 index 000000000..e69de29bb diff --git a/helm/dist/INSTALL b/helm/dist/INSTALL new file mode 100644 index 000000000..e69de29bb diff --git a/helm/dist/README b/helm/dist/README new file mode 100644 index 000000000..e69de29bb