get_ical_data.sh is now run at compile time
[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 echo ... running aclocal ...
10 aclocal
11     
12 echo ... running autoconf ...
13 autoconf
14
15 # If your autoconf version changes, the autom4te.cache stuff will mess you up.
16 # Get rid of it.
17 echo ... removing autoheader cache files ...
18 rm -rf autom4te*.cache
19     
20 echo ... running autoheader ...
21 autoheader
22     
23 echo ... mk_module_init.sh ...
24 ./scripts/mk_module_init.sh
25
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 I recommend the latest
30 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
35
36 grep '^#define CLIENT_VERSION' webcit.h | sed 's/[^0-9]*//g' >package-version.txt