war on lfhs continues ... what a mess
[citadel.git] / citadel / bootstrap
1 #!/bin/sh
2 #
3 # run me after checking Citadel out of the source code repository.
4
5 echo ... running aclocal ...
6 aclocal -I m4
7
8 echo ... running autoconf ...
9 autoconf
10
11 # If your autoconf version changes, the autom4te.cache stuff will mess you up.
12 # Get rid of it.
13 echo ... removing autoheader cache files ...
14 rm -rf autom4te*.cache
15
16 echo ... running autoheader ...
17 autoheader
18
19 echo ... running mk_svn_revision.sh ...
20 ./scripts/mk_svn_revision.sh
21
22 echo ... running mk_module_init.sh ...
23 ./scripts/mk_module_init.sh
24
25 grep '#define REV_LEVEL' citadel.h | sed 's/[^0-9]*//g' >package-version.txt
26
27 echo
28 echo This script has been tested with autoconf 2.53 and
29 echo automake 1.5. Other versions may work, but we recommend
30 echo the latest echo compatible versions of these.
31 echo
32 echo Also note that autoconf and automake should be configured
33 echo with the same prefix.
34 echo