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 tar czf orte-$(VER).tar.gz orte-$(VER)
18 cd orte-$(VER) && ./configure && make # Check that we can compile the content of the archive
19 @echo "Tarball stored as orte-$(VER).tar.gz"