Added check for gnome-doc-utils.make

svn path=/trunk/; revision=918
This commit is contained in:
Curtis Gedak 2008-09-26 21:33:08 +00:00
parent ad622755df
commit a6f93b9e8b
2 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-09-26 Curtis Gedak <gedakc@gmail.com>
* autogen.sh: Added check for gnome-doc-utils.make
2008-09-25 Curtis Gedak <gedakc@gmail.com> 2008-09-25 Curtis Gedak <gedakc@gmail.com>
* src/GParted_Core.cc, * src/GParted_Core.cc,

View File

@ -11,4 +11,18 @@ which gnome-autogen.sh || {
exit 1 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 REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh