]> rtime.felk.cvut.cz Git - orte.git/blobdiff - Makefile.cvs
JORTE: ignore 'int-to-pointer' and 'pointer-to-int' compiler warnings
[orte.git] / Makefile.cvs
index dc1f4ffc1ca8dc81b95a9a0f63f5a8866ea0f33a..82fbffc4f4eaa5e5dd058d023faea11f3f338fff 100644 (file)
@@ -1,4 +1,5 @@
 default: cvs
+       @echo "Now you can run './configure'"
 
 cvs:
        autoreconf -i 
@@ -11,9 +12,21 @@ all:
 
 dist: VER=$(shell git describe --match='v*' | sed -e 's/^v\(.*\)/\1/')
 dist:
+# Export clean sources and run autoreconf
        test ! -d orte-$(VER)
        git archive --format=tar --prefix=orte-$(VER)/ HEAD | tar x
        make -C orte-$(VER) -f Makefile.cvs
+       rm -rf orte-$(VER)/autom4te.cache
+# Export sources again for building of documentation and copy generated orte manual to release dir
+       test ! -d orte-$(VER)-doc
+       git archive --format=tar --prefix=orte-$(VER)-doc/ HEAD | tar x
+       make -C orte-$(VER)-doc/doc
+       cp orte-$(VER)-doc/doc/orteman.pdf orte-$(VER)/doc
+       rm -rf orte-$(VER)-doc
+# Create tarball
        tar czf orte-$(VER).tar.gz orte-$(VER)
-       cd orte-$(VER) && ./configure && make # Check that we can compile the content of the archive
+# Check that we can compile the content of the tarball
+       cd orte-$(VER) && ./configure && make
+# Done
+       rm -rf orte-$(VER)
        @echo "Tarball stored as orte-$(VER).tar.gz"