diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2011-05-12 11:07:30 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2011-05-12 11:45:25 +0100 |
commit | dc5d3785f6f0f00f39b25285d9c54f17582e4063 (patch) | |
tree | 22d72540fe5bc4c8988a72e05a9683aa8eeda5f8 /autogen.sh | |
parent | 1127ab61a1c0020823bdd5a394ea35d5b181425e (diff) | |
download | cogl-dc5d3785f6f0f00f39b25285d9c54f17582e4063.tar.gz |
build: Allow to compile a git checkout without gtk-doc
Gtk-doc can be hard to install on Windows. This patch enables people wanting to
hack on Cogl itself from a Windows system to do so without the hassle to get
gtk-doc installed first.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -30,11 +30,9 @@ ECT." fi (gtkdocize --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "You must have gtk-doc installed to compile $PROJECT." - echo "Install the appropriate package for your distribution," - echo "or get the source tarball at http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/" - exit 1 + echo "You don't have gtk-doc installed to compile $PROJECT, and thus" + echo "won't be able to generate the $PROJECT documentation." + NOGTKDOC=1 } # NOCONFIGURE is used by gnome-common @@ -63,7 +61,10 @@ fi rm -rf autom4te.cache -gtkdocize || exit $? +if test -z "$NOGTKDOC"; then + gtkdocize || exit $? +fi + autoreconf -vfi || exit $? cd $ORIGDIR || exit $? |