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

set -e # exit on errors

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

git submodule update --init --recursive --remote

gtkdocize
autoreconf -v --force --install
intltoolize -f

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