2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
authorEmmanuele Bassi <ebassi@openedhand.com>
Thu, 17 Apr 2008 10:41:03 +0000 (10:41 +0000)
committerEmmanuele Bassi <ebassi@openedhand.com>
Thu, 17 Apr 2008 10:41:03 +0000 (10:41 +0000)
* autogen.sh: Try to continue even if we don't have gtk-doc
installed; this will obviously won't work if you don't pass
--disable-docs --disable-gtk-doc to autogen.sh as well.

ChangeLog
autogen.sh

index 6040d26..ed8134b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-04-17  Emmanuele Bassi  <ebassi@openedhand.com>
 
+       * autogen.sh: Try to continue even if we don't have gtk-doc
+       installed; this will obviously won't work if you don't pass
+       --disable-docs --disable-gtk-doc to autogen.sh as well.
+
+2008-04-17  Emmanuele Bassi  <ebassi@openedhand.com>
+
        * clutter/clutter-fixed.[ch]: Add a ClutterFixed fundamental
        type, and wrappers for storing it into GValues; also add a
        GParamSpec subclass for defining parameters holding
index 9c61882..386762d 100755 (executable)
@@ -12,11 +12,17 @@ test $TEST_TYPE $FILE || {
         exit 1
 }
 
-gtkdocize || exit $?
+GTKDOCIZE=`which gtkdocize`
+if test -z $GTKDOCIZE; then
+        echo "*** No gtk-doc support ***"
+        touch gtk-doc.make
+else
+        gtkdocize || exit $?
+fi
 
 # back in the stupidity of autoreconf
 autoreconf -v --install || exit $?
 
-./configure "$@" ${GTK_DOC_ARGS}
+./configure "$@"
 
 echo "Now type 'make' to compile $PROJECT."