blob: 629a2575532df86499f4d7a0c11ec5a94e5cc5ee [file] [log] [blame]
Eric Anholt8c641832009-03-26 17:15:11 -07001#! /bin/sh
2
Gaetan Nadona03ef7a2012-01-03 21:12:24 -05003srcdir=`dirname $0`
4test -z "$srcdir" && srcdir=.
5
6ORIGDIR=`pwd`
7cd $srcdir
8
Thomas Wood14ea2a02014-03-11 16:04:28 +00009if ! type gtkdocize > /dev/null 2>&1; then
10 echo "EXTRA_DIST =" > gtk-doc.make
11 echo "CLEANFILES =" >> gtk-doc.make
12else
13 gtkdocize || exit $?
14fi
15
Gaetan Nadona03ef7a2012-01-03 21:12:24 -050016autoreconf -v --install || exit 1
17cd $ORIGDIR || exit $?
18
Damien Lespiau9d3707a2013-01-19 11:54:05 +000019$srcdir/configure "$@"