/ [swis] / trunk / bootstrap
To checkout: svn checkout http://svn.gnu.org.ua/sources/swis/trunk/bootstrap
Puszcza

Contents of /trunk/bootstrap

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (show annotations)
Wed Oct 3 09:56:28 2007 UTC (13 years, 8 months ago) by gray
File size: 1199 byte(s)
* src/swis.h: Update
* src/html-strip.l: Implement command line options. Convert only
html body.
* gnulib.modules: New file
* bootstrap: Read list of modules from gnulib.modules

1 #! /bin/sh
2 checkout_only_file=README-hacking
3
4 usage() {
5 echo >&2 "\
6 Usage: $0 [OPTION]...
7 Bootstrap this package from the checked-out sources.
8
9 Supported options are:
10
11 --force Attempt to bootstrap even if the sources seem
12 not to have been checked out.
13 --gnulib-srcdir=DIRNAME Specify the local directory where gnulib
14 sources reside. This option is required, unless
15 \`gnulib-tool' is in your PATH.
16 --help Print this help list.
17 "
18 }
19
20 for option
21 do
22 case $option in
23 --help)
24 usage
25 exit 0;;
26 --gnulib-srcdir=*)
27 GNULIB_SRCDIR=`expr "$option" : '--gnulib-srcdir=\(.*\)'`
28 PATH=$GNULIB_SRCDIR:$PATH;;
29 --force)
30 checkout_only_file=;;
31 *)
32 echo >&2 "$0: $option: unknown option"
33 exit 1;;
34 esac
35 done
36
37 if test -n "$checkout_only_file" && test ! -r "$checkout_only_file"; then
38 echo "$0: Bootstrapping from a non-checked-out distribution is risky." >&2
39 exit 1
40 fi
41
42 test -d m4 || mkdir m4 || exit 1
43 test -d gnu || mkdir gnu || exit 1
44
45 MODULES=`grep '^[^#]' gnulib.modules`
46
47 gnulib-tool --source-base=gnu --import $MODULES &&
48 autoreconf -f -i -s

Properties

Name Value
svn:executable

Send suggestions and bug reports to Sergey Poznyakoff
ViewVC Help
Powered by ViewVC 1.1.20