2 # Run this to generate all the initial makefiles, etc.
5 test -z "$srcdir" && srcdir
=.
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"
18 which gnome-autogen.sh || {
19 echo "You need to install gnome-common from the GNOME CVS"
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.11 GNOME_DATADIR="$gnome_datadir" USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh