Merge branch 'master' into 'master'
[brasero.git] / autogen.sh
blobcce47c209fe190543e1f66557781d0d0ac3d8e42
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="brasero"
9 (test -f $srcdir/configure.ac \
10 && test -f $srcdir/README \
11 && test -d $srcdir/src) || {
12 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
13 echo " top-level $PKG_NAME directory"
14 exit 1
17 which gnome-autogen.sh || {
18 echo "You need to install gnome-common from the GNOME CVS"
19 exit 1
21 REQUIRED_AUTOMAKE_VERSION=1.7 USE_GNOME2_MACROS=1 . gnome-autogen.sh --enable-gtk-doc "$@"