Updated Greek translation by Christos Mpountalis
[anjuta-git-plugin.git] / autogen.sh
blob6cb127da476dfc06259d51547f582bd5960ce3a8
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
4 srcdir=`dirname $0`
5 test -z "$srcdir" && srcdir=.
7 PKG_NAME=anjuta
9 (test -f $srcdir/configure.in \
10 && test -f $srcdir/autogen.sh \
11 && test -d $srcdir/src \
12 && test -f $srcdir/src/anjuta.c) || {
13 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
14 echo " top-level $PKG_NAME directory"
15 exit 1
18 which gnome-autogen.sh || {
19 echo "You need to install gnome-common from the GNOME CVS"
20 exit 1
23 echo "Generating initial interface files"
24 sh -c "cd $srcdir/libanjuta/interfaces && \
25 perl anjuta-idl-compiler.pl libanjuta && \
26 touch iface-built.stamp"
28 REQUIRED_AUTOMAKE_VERSION=1.9 GNOME_DATADIR="$gnome_datadir" USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh