hepmc - Blame information for rev 390
Subversion Repositories:
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 5 | garren | 1 | #! /bin/sh |
| 2 | |||
| 3 | set -x | ||
| 4 | # cleanup should not be necessary | ||
| 5 | # however, in some cases strange results are found if you do not start clean | ||
| 6 | rm -rf autom4te.cache | ||
| 7 | rm -f aclocal.m4 | ||
| 8 | rm -f Makefile.in */Makefile.in */defs.h.in | ||
| 9 | rm -f missing install-sh depcomp | ||
| 10 | rm -f configure config.* | ||
| 285 | garren | 11 | rm -f ltmain.sh |
| 5 | garren | 12 | # run autotool commands |
| 334 | garren | 13 | OS=`uname` |
| 14 | if [ $OS = "Darwin" ]; then | ||
| 15 | glibtoolize --copy | ||
| 390 | garren | 16 | OSname=`uname -s` |
| 334 | garren | 17 | else |
| 18 | libtoolize --copy | ||
| 390 | garren | 19 | OSname=`uname -o` |
| 334 | garren | 20 | fi |
| 5 | garren | 21 | aclocal |
| 307 | garren | 22 | m4dir=`aclocal --print-ac-dir` |
| 23 | if [ -f $m4dir/libtool.m4 ]; then | ||
| 24 | cat $m4dir/libtool.m4 >> aclocal.m4 | ||
| 285 | garren | 25 | fi |
| 5 | garren | 26 | autoheader |
| 27 | automake --add-missing --copy | ||
| 28 | autoconf | ||
| 29 | |||
| 78 | garren | 30 | # To avoid confusing people with failures in the documentation build, |
| 31 | # build documents during the bootstrap process. | ||
| 390 | garren | 32 | if [ $OSname != "Cygwin" ]; then |
| 33 | cd doc; ./buildDoc.sh | ||
| 34 | fi | ||
| 65 | garren | 35 | |
| 5 | garren | 36 | # ready to make a source code distribution tarball |
