diff --git a/ChangeLog b/ChangeLog index 88120dee..5c534ea4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-09-26 Curtis Gedak + + * autogen.sh: Added check for gnome-doc-utils.make + 2008-09-25 Curtis Gedak * src/GParted_Core.cc, diff --git a/autogen.sh b/autogen.sh index 39cc7c10..328a8deb 100755 --- a/autogen.sh +++ b/autogen.sh @@ -11,4 +11,18 @@ which gnome-autogen.sh || { exit 1 } +# Check for GNOME-DOC-UTILS +GDUMAKE="gnome-doc-utils.make" +GDUMAKEFULLPATH=`locate $GDUMAKE | grep -m 1 "gnome-doc-utils/"` +if test "x${GDUMAKEFULLPATH}" = "x" ; then + echo "Cannot find file: $GDUMAKE" + echo "You need to install gnome-doc-utils from the GNOME CVS" + exit 1 +fi +# Ensure a copy of gnome-doc-utils.make exists in the top source directory +test -e $srcdir/$GDUMAKE || { + echo "Copying $GDUMAKEFULLPATH to $srcdir" + cp -p $GDUMAKEFULLPATH $srcdir +} + REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh