2008-04-09 Emmanuele Bassi <ebassi@openedhand.com>
[profile/ivi/clutter.git] / autogen.sh
1 #! /bin/sh
2
3 srcdir=`dirname $0`
4 test -z "$srcdir" && srcdir=.
5
6 PROJECT=Clutter
7 TEST_TYPE=-d
8 FILE=clutter
9
10 test $TEST_TYPE $FILE || {
11         echo "You must run this script in the top-level $PROJECT directory"
12         exit 1
13 }
14
15 gtkdocize || exit $?
16
17 # back in the stupidity of autoreconf
18 autoreconf -v --install || exit $?
19
20 ./configure "$@" ${GTK_DOC_ARGS}
21
22 echo "Now type 'make' to compile $PROJECT."