Updated Spanish translation
[gtk-doc.git] / autogen.sh
blob46c21376a09090b5618988f40d1147edc59e4da7
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
4 test -n "$srcdir" || srcdir=`dirname "$0"`
5 test -n "$srcdir" || srcdir=.
7 olddir=`pwd`
8 cd "$srcdir"
10 mkdir -p build-aux
12 if gnome-doc-prepare --version < /dev/null > /dev/null 2>&1; then
13 echo "* Running gnome-doc-prepare"
14 gnome-doc-prepare --copy --force --automake
15 else
16 touch gnome-doc-utils.make
19 AUTORECONF=`which autoreconf`
20 if test -z $AUTORECONF; then
21 echo "*** No autoreconf found, please install it ***"
22 exit 1
23 else
24 autoreconf --force --install --verbose || exit $?
27 cd "$olddir"
28 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"