File: bootstrap

package info (click to toggle)
citadel 917-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,976 kB
  • sloc: ansic: 44,751; sh: 4,209; yacc: 651; makefile: 399
file content (34 lines) | stat: -rwxr-xr-x 862 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
#!/bin/sh
#
# run me after checking Citadel out of the source code repository.

echo ... running aclocal ...
aclocal -I m4

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 ... running mk_svn_revision.sh ...
./scripts/mk_svn_revision.sh

echo ... running mk_module_init.sh ...
./scripts/mk_module_init.sh

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

echo
echo This script has been tested with autoconf 2.53 and
echo automake 1.5. Other versions may work, but we recommend
echo the latest echo compatible versions of these.
echo
echo Also note that autoconf and automake should be configured
echo with the same prefix.
echo