help: Fix build-tutorial
[anjuta.git] / autogen.sh
blob3bc508f45b26efdc0389c2876e5ffbbef76a2ac5
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
5 test -z "$srcdir" && srcdir=.
7 GNOMEDOC=`which yelp-build`
8 if test -z $GNOMEDOC; then
9 echo "*** The tools to build the documentation are not found,"
10 echo " please intall the yelp-tool package ***"
11 exit 1
14 srcdir=`dirname $0`
15 echo "Generating initial interface files"
16 sh -c "cd $srcdir/libanjuta/interfaces && \
17 perl anjuta-idl-compiler.pl libanjuta && \
18 touch iface-built.stamp"
20 test -n "$srcdir" || srcdir=`dirname "$0"`
21 test -n "$srcdir" || srcdir=.
23 cd "$srcdir" &&
24 gtkdocize &&
25 autopoint --force &&
26 AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install
27 ) || exit
28 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"