mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
6326daa9ae
* 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.
29 lines
526 B
Bash
Executable File
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."
|