summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: f36bb6fecf0e28d2997ea7b0921d89d05312bc6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

set -e # exit on errors

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

git submodule init
git submodule update

gtkdocize
autoreconf -v --force --install
intltoolize -f
if test ! -e gtk/controller/controller.vala.stamp; then
  enable_vala="--enable-vala"
fi

if [ -z "$NOCONFIGURE" ]; then
    "$srcdir"/configure --enable-maintainer-mode --enable-gtk-doc --with-gtk=3.0 $enable_vala ${1+"$@"}
fi