Distcheck fixes
[bug-buddy.git] / autogen.sh
blob22da332c6b1c55ee818bc10e9137dd03212107a5
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="Bug Buddy"
9 (test -f $srcdir/configure.in \
10 && test -d $srcdir/pixmaps) || {
11 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
12 echo " top-level gnome directory"
13 exit 1
16 which gnome-doc-prepare || {
17 echo "You need to install gnome-doc-utils to build this package"
18 exit 1
20 gnome-doc-prepare
22 which gnome-autogen.sh || {
23 echo "You need to install gnome-common from the GNOME CVS"
24 exit 1
27 REQUIRED_AUTOMAKE_VERSION=1.6 \
28 USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes \
29 . gnome-autogen.sh