]> code.citadel.org Git - citadel.git/blobdiff - webcit/bootstrap
get_ical_data.sh is now run at compile time
[citadel.git] / webcit / bootstrap
index 767549d89b26087aa59aa1a778a0e987701d6082..43c30e3c2e582ef2cfd92ce23d081bf4f5fd8286 100755 (executable)
@@ -2,50 +2,27 @@
 #
 # run me after checking WebCit out of svn.
 #
 #
 # run me after checking WebCit out of svn.
 #
-# $Id: bootstrap 3850 2005-09-13 14:00:24Z ajc $
-#
 
 # Remove any vestiges of pre-6.05 build environments
 
 # Remove any vestiges of pre-6.05 build environments
-rm -f .libs modules *.so *.lo *.la
-
-# Goofy red hat 7.3 stuff
-if grep 7.3 /etc/redhat-release >/dev/null 2>&1 ; then
-       redhat73=true
-else
-       redhat73=false
-fi
-if [ "$redhat73" = "true" ]; then
-       aclocal=/usr/bin/aclocal-1.5
-       autoconf=/usr/bin/autoconf-2.53
-       autoheader=/usr/bin/autoheader-2.53
-
-       if test -z $aclocal ; then
-               echo "Please install the automake15 RPM package"
-               redhat73=missing
-       fi
-       if test -z $autoconf || test -z $autoheader ; then
-               echo "Please install the autoconf253 RPM package"
-               redhat73=missing
-       fi
-       if test "$redhat73" = "missing" ; then
-               exit 1
-       fi
-else
-       aclocal=aclocal
-       autoconf=autoconf
-       autoheader=autoheader
-fi
+rm -f .libs modules *.so *.lo *.la 2>/dev/null
 
 echo ... running aclocal ...
 
 echo ... running aclocal ...
-$aclocal
+aclocal
+    
 echo ... running autoconf ...
 echo ... running autoconf ...
-$autoconf
+autoconf
+
 # If your autoconf version changes, the autom4te.cache stuff will mess you up.
 # Get rid of it.
 echo ... removing autoheader cache files ...
 rm -rf autom4te*.cache
 # If your autoconf version changes, the autom4te.cache stuff will mess you up.
 # Get rid of it.
 echo ... removing autoheader cache files ...
 rm -rf autom4te*.cache
+    
 echo ... running autoheader ...
 echo ... running autoheader ...
-$autoheader
+autoheader
+    
+echo ... mk_module_init.sh ...
+./scripts/mk_module_init.sh
+
 
 echo
 echo This script has been tested with autoconf 2.53 and
 
 echo
 echo This script has been tested with autoconf 2.53 and
@@ -55,3 +32,5 @@ echo
 echo Also note that autoconf and automake should be configured
 echo with the same prefix.
 echo
 echo Also note that autoconf and automake should be configured
 echo with the same prefix.
 echo
+
+grep '^#define CLIENT_VERSION' webcit.h | sed 's/[^0-9]*//g' >package-version.txt