]> rtime.felk.cvut.cz Git - orte.git/commitdiff
Prepare for release
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 14 Aug 2012 17:17:14 +0000 (19:17 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 14 Aug 2012 17:17:14 +0000 (19:17 +0200)
Makefile.cvs

index 4ba788fc76aebe0321804f69e60ce58510a5d710..dc1f4ffc1ca8dc81b95a9a0f63f5a8866ea0f33a 100644 (file)
@@ -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"