autogen.sh 359 Bytes
Newer Older
Daniel Drake's avatar
Daniel Drake committed
1
#!/bin/sh
2 3 4 5 6 7

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

pushd $srcdir

Daniel Drake's avatar
Daniel Drake committed
8
aclocal || exit 1
Bastien Nocera's avatar
Bastien Nocera committed
9 10
autoheader || exit 1
glib-gettextize -f -c || exit 1
11
gtkdocize --copy || exit 1
Bastien Nocera's avatar
Bastien Nocera committed
12
intltoolize -c -f || exit 1
13
libtoolize -c || exit 1
Daniel Drake's avatar
Daniel Drake committed
14 15
autoconf || exit 1
automake -a -c || exit 1
16 17
popd

18
if test -z "$NOCONFIGURE"; then
19
	$srcdir/configure --enable-maintainer-mode $*
20
fi