blob: 53df7525a97623fff0670931aa575f04d9954403 [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
Eric Anholteeeb3042017-06-07 16:51:21 -070019git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
20 git config --local format.subjectPrefix "PATCH i-g-t"
21
Tomeu Vizoso12fd5902016-05-19 10:49:29 +020022if test -z "$NOCONFIGURE"; then
23 $srcdir/configure "$@"
24fi