File: bootstrap

package info (click to toggle)
webcit 917-dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 9,164 kB
  • sloc: ansic: 34,213; sh: 4,455; makefile: 346; xml: 91; sed: 9
file content (39 lines) | stat: -rwxr-xr-x 981 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/sh
#
# run me after checking WebCit out of svn.
#

# Remove any vestiges of pre-6.05 build environments
rm -f .libs modules *.so *.lo *.la 2>/dev/null

if ./scripts/get_ical_data.sh; then

    echo ... running aclocal ...
    aclocal
    
    echo ... running 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
    
    echo ... running 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 automake 1.5. Other versions may work, but I recommend the latest
    echo compatible versions of these.
    echo
    echo Also note that autoconf and automake should be configured
    echo with the same prefix.
    echo
fi

grep '^#define CLIENT_VERSION' webcit.h | sed 's/[^0-9]*//g' >package-version.txt