summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: cacdfae65ac84f743828d0b79c71649f1f45c66c (plain)
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
#!/bin/sh
set -e

if test -z "$MAKE"
then
	MAKE=make
fi

gtkdocize

( cd spec && TOP_SRCDIR=.. sh ../tools/update-spec-gen-am.sh spec-gen.am )
$MAKE -C telepathy-glib -f stable-interfaces.mk _gen/stable-interfaces.txt
( cd telepathy-glib && TOP_SRCDIR=.. sh ../tools/update-spec-gen-am.sh _gen/spec-gen.am _gen _gen/stable-interfaces.txt )

autoreconf -i

run_configure=true
for arg in $*; do
    case $arg in
        --no-configure)
            run_configure=false
            ;;
        *)
            ;;
    esac
done

if test $run_configure = true; then
    ./configure "$@"
fi