Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
build: Allow autogen-eration on systems without GTK-doc
The autogen.sh script fails if it cannot run gtkdocize. The absence of
this command should not cause cairo builds to fail, it should only
prevent the build of its documentation.

Fixes:
*** No GTK-Doc found, please install it ***

on systems without gtkdoc tools.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=50356
  • Loading branch information
Andrea Canciani committed May 26, 2012
1 parent 465319c commit 38d03ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autogen.sh
Expand Up @@ -15,16 +15,16 @@ fi

GTKDOCIZE=`which gtkdocize`
if test -z $GTKDOCIZE; then
echo "*** No GTK-Doc found, please install it ***"
exit 1
echo "*** No GTK-Doc found, documentation won't be generated ***"
else
gtkdocize || exit $?
fi

# create dummy */Makefile.am.features and ChangeLog to make automake happy
> boilerplate/Makefile.am.features
> src/Makefile.am.features
touch ChangeLog

gtkdocize || exit $?
autoreconf --force --install --verbose || exit $?

cd $ORIGDIR
Expand Down

0 comments on commit 38d03ea

Please sign in to comment.