| 1 |
#!/bin/sh -e |
| 2 |
|
| 3 |
# $Id: bootstrap,v 1.1 2005/10/09 22:32:36 flux Exp $ |
| 4 |
|
| 5 |
# |
| 6 |
# bootstrap - script to bootstrap the distribution rolling engine |
| 7 |
# |
| 8 |
# to build a tarball, ready for distribution, from fresh checked out |
| 9 |
# cvs sources, do |
| 10 |
# |
| 11 |
# automake --add-missing && ./bootstrap && ./configure && make distcheck |
| 12 |
# |
| 13 |
# this will yield a tarball, e.g. zoem-20020109.tar.gz . Once this has been |
| 14 |
# run, one can, after e.g. editing sources, run just |
| 15 |
# |
| 16 |
# make distcheck |
| 17 |
# |
| 18 |
# to generate a new tarball. (No need to run ./bootstrap again in this case.) |
| 19 |
# After downloading, users do |
| 20 |
# |
| 21 |
# tar zxf mcl-20020109.tar.gz |
| 22 |
# cd mcl-20020109 |
| 23 |
# ./configure && make |
| 24 |
# make install |
| 25 |
# |
| 26 |
|
| 27 |
set -x |
| 28 |
|
| 29 |
if test ! -f VERSION |
| 30 |
then |
| 31 |
./setversion |
| 32 |
fi |
| 33 |
|
| 34 |
if test ! -L util/Makefile.am |
| 35 |
then |
| 36 |
./mkutil |
| 37 |
fi |
| 38 |
|
| 39 |
aclocal \ |
| 40 |
&& autoheader \ |
| 41 |
&& automake --verbose --gnu --add-missing \ |
| 42 |
&& autoconf |
| 43 |
|
| 44 |
|
| 45 |
|