mutter/autogen.sh
Emmanuele Bassi 6326daa9ae 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
* autogen.sh: Try to continue even if we don't have gtk-doc
	installed; this will obviously won't work if you don't pass
	--disable-docs --disable-gtk-doc to autogen.sh as well.
2008-04-17 10:41:03 +00:00

29 lines
526 B
Bash
Executable File

#! /bin/sh
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PROJECT=Clutter
TEST_TYPE=-d
FILE=clutter
test $TEST_TYPE $FILE || {
echo "You must run this script in the top-level $PROJECT directory"
exit 1
}
GTKDOCIZE=`which gtkdocize`
if test -z $GTKDOCIZE; then
echo "*** No gtk-doc support ***"
touch gtk-doc.make
else
gtkdocize || exit $?
fi
# back in the stupidity of autoreconf
autoreconf -v --install || exit $?
./configure "$@"
echo "Now type 'make' to compile $PROJECT."