]> rtime.felk.cvut.cz Git - orte.git/blobdiff - Makefile.cvs
Update version to 0.3.3 even in header files for OMK build.
[orte.git] / Makefile.cvs
index 00b7f678d0be17b840347fde226268201055f0e8..dc1f4ffc1ca8dc81b95a9a0f63f5a8866ea0f33a 100644 (file)
@@ -1,8 +1,19 @@
-default: all
+default: cvs
+
+cvs:
+       autoreconf -i 
 
 all:
-       aclocal -I admin
+       aclocal -I admin 
        autoheader
        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"