2005-04-13 15:49:56 -04:00
|
|
|
#! /bin/sh
|
2008-04-09 06:51:15 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2008-04-17 06:41:03 -04:00
|
|
|
GTKDOCIZE=`which gtkdocize`
|
|
|
|
if test -z $GTKDOCIZE; then
|
|
|
|
echo "*** No gtk-doc support ***"
|
2008-04-28 11:38:30 -04:00
|
|
|
echo "EXTRA_DIST =" > gtk-doc.make
|
2008-04-17 06:41:03 -04:00
|
|
|
else
|
|
|
|
gtkdocize || exit $?
|
|
|
|
fi
|
2007-06-19 10:15:42 -04:00
|
|
|
|
2008-06-10 12:47:38 -04:00
|
|
|
GLIB_GETTEXTIZE=`which glib-gettextize`
|
|
|
|
if test -z $GLIB_GETTEXTIZE; then
|
|
|
|
echo "*** No glib-gettextize ***"
|
|
|
|
exit 1
|
|
|
|
else
|
|
|
|
glib-gettextize || exit $?
|
|
|
|
fi
|
|
|
|
|
2008-04-09 06:51:15 -04:00
|
|
|
autoreconf -v --install || exit $?
|
|
|
|
|
2008-04-28 09:18:16 -04:00
|
|
|
./configure "$@" && echo "Now type 'make' to compile $PROJECT."
|