Be able to run autogen.sh from another directory
[nautilus-actions.git] / autogen.sh
blobfac9b6ebfc425c48855e417a6a627f8ed764699a
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="nautilus-actions"
8 REQUIRED_INTLTOOL_VERSION=0.35.5
10 ( test -f $srcdir/configure.ac ) || {
11 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
12 echo " top-level $PKG_NAME directory"
13 exit 1
16 gtkdocize || exit 1
18 which gnome-autogen.sh || {
19 echo "You need to install gnome-common from the GNOME Git"
20 exit 1
23 USE_GNOME2_MACROS=1 . gnome-autogen.sh