Mailing list header changes (fuck you Google)
[citadel.git] / webcit / bootstrap
1 #!/bin/sh
2 #
3 # run me after checking WebCit out of svn.
4 #
5
6 # Remove any vestiges of pre-6.05 build environments
7 rm -f .libs modules *.so *.lo *.la 2>/dev/null
8
9 grep '^#define CLIENT_VERSION' webcit.h | sed 's/[^0-9]*//g' >package-version.txt
10
11 echo ... running aclocal ...
12 aclocal
13     
14 echo ... running autoconf ...
15 autoconf
16
17 # If your autoconf version changes, the autom4te.cache stuff will mess you up.
18 # Get rid of it.
19 echo ... removing autoheader cache files ...
20 rm -rf autom4te*.cache
21     
22 echo ... running autoheader ...
23 autoheader
24     
25 echo ... mk_module_init.sh ...
26 ./scripts/mk_module_init.sh
27
28 echo
29 echo This script has been tested with autoconf 2.53 and
30 echo automake 1.5. Other versions may work, but I recommend the latest
31 echo compatible versions of these.
32 echo
33 echo Also note that autoconf and automake should be configured
34 echo with the same prefix.
35 echo
36