2 # Run this to generate all the initial makefiles, etc.
4 test -n "$srcdir" || srcdir=`dirname "$0"`
5 test -n "$srcdir" || srcdir=.
10 GTKDOCIZE=$(which gtkdocize 2>/dev/null)
11 if test -z $GTKDOCIZE; then
12 echo "You don't have gtk-doc installed, and thus won't be able to generate the documentation."
14 cat > gtk-doc.make <<EOF
22 AUTORECONF=`which autoreconf`
23 if test -z $AUTORECONF; then
24 echo "*** No autoreconf found, please install it ***"
28 # README and INSTALL are required by automake, but may be deleted by clean
29 # up rules. to get automake to work, simply touch these here, they will be
30 # regenerated from their corresponding *.in files by ./configure anyway.
33 autoreconf --force --install --verbose || exit $?
36 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"