blob: ec633f3efefd6edaa302f0bb474614332dc49906 [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
Tomeu Vizoso12fd5902016-05-19 10:49:29 +020019if test -z "$NOCONFIGURE"; then
20 $srcdir/configure "$@"
21fi