12 dist: VER=$(shell git describe --match='v*' | sed -e 's/^v\(.*\)/\1/')
15 git archive --format=tar --prefix=orte-$(VER)/ HEAD | tar x
16 make -C orte-$(VER) -f Makefile.cvs
17 rm -rf orte-$(VER)/autom4te.cache
18 tar czf orte-$(VER).tar.gz orte-$(VER)
19 cd orte-$(VER) && ./configure && make # Check that we can compile the content of the archive
20 @echo "Tarball stored as orte-$(VER).tar.gz"