From 284accae17d4bb0886fc2d8b9d6f11b018ff581a Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Tue, 14 Aug 2012 19:17:14 +0200 Subject: [PATCH] Prepare for release --- Makefile.cvs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile.cvs b/Makefile.cvs index 4ba788f..dc1f4ff 100644 --- a/Makefile.cvs +++ b/Makefile.cvs @@ -9,3 +9,11 @@ all: automake autoconf +dist: VER=$(shell git describe --match='v*' | sed -e 's/^v\(.*\)/\1/') +dist: + test ! -d orte-$(VER) + git archive --format=tar --prefix=orte-$(VER)/ HEAD | tar x + make -C orte-$(VER) -f Makefile.cvs + tar czf orte-$(VER).tar.gz orte-$(VER) + cd orte-$(VER) && ./configure && make # Check that we can compile the content of the archive + @echo "Tarball stored as orte-$(VER).tar.gz" -- 2.39.2