From 6355ac16ff3996e16d9d9cfb08e4184bc7962f8b Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Thu, 2 Feb 2006 10:47:22 +0000 Subject: [PATCH] added (placeholder) distribution stuff for matita --- helm/Makefile | 48 ++++++++++++++++++++++++++++++----------------- helm/dist/AUTHORS | 0 helm/dist/COPYING | 0 helm/dist/INSTALL | 0 helm/dist/README | 0 5 files changed, 31 insertions(+), 17 deletions(-) create mode 100644 helm/dist/AUTHORS create mode 100644 helm/dist/COPYING create mode 100644 helm/dist/INSTALL create mode 100644 helm/dist/README 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 -- 2.39.2