aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
blob: 7589553fbe5fe3bd703dfdcb7ed362034b04c066 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/sh

chksrc() {
    test -f modinc || return 1
    test -f stub.ac || return 1
    src=`sed -n 's/AC_CONFIG_SRCDIR(\[\(.*\)\]).*/\1/p' stub.ac`
    test -n "$src" || return 1
    test -f $src
}

if ! chksrc; then
    echo "$0: must be run from the Dico source tree root directory"
    exit 1
fi

set -e
git submodule init
git submodule update
./modinc
set +e
gnulib=gnulibinit
test -L $gnulib || ln -sf ./gnulib/build-aux/bootstrap $gnulib
./$gnulib

Return to:

Send suggestions and report system problems to the System administrator.