]> rtime.felk.cvut.cz Git - orte.git/blob - Makefile.cvs
JORTE: ignore 'int-to-pointer' and 'pointer-to-int' compiler warnings
[orte.git] / Makefile.cvs
1 default: cvs
2         @echo "Now you can run './configure'"
3
4 cvs:
5         autoreconf -i 
6
7 all:
8         aclocal -I admin 
9         autoheader
10         automake
11         autoconf
12
13 dist: VER=$(shell git describe --match='v*' | sed -e 's/^v\(.*\)/\1/')
14 dist:
15 # Export clean sources and run autoreconf
16         test ! -d orte-$(VER)
17         git archive --format=tar --prefix=orte-$(VER)/ HEAD | tar x
18         make -C orte-$(VER) -f Makefile.cvs
19         rm -rf orte-$(VER)/autom4te.cache
20 # Export sources again for building of documentation and copy generated orte manual to release dir
21         test ! -d orte-$(VER)-doc
22         git archive --format=tar --prefix=orte-$(VER)-doc/ HEAD | tar x
23         make -C orte-$(VER)-doc/doc
24         cp orte-$(VER)-doc/doc/orteman.pdf orte-$(VER)/doc
25         rm -rf orte-$(VER)-doc
26 # Create tarball
27         tar czf orte-$(VER).tar.gz orte-$(VER)
28 # Check that we can compile the content of the tarball
29         cd orte-$(VER) && ./configure && make
30 # Done
31         rm -rf orte-$(VER)
32         @echo "Tarball stored as orte-$(VER).tar.gz"