Big documentation fix mess.
[hildon] / autogen.sh
index a419852..dcfe69a 100755 (executable)
@@ -31,6 +31,14 @@ 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/"
+  DIE=1
+}
+
 (automake --version) < /dev/null > /dev/null 2>&1 || {
   echo
   echo "**Error**: You must have \`automake' installed."
@@ -40,7 +48,6 @@ fi
   NO_AUTOMAKE=yes
 }
 
-
 # if no automake, don't bother testing for aclocal
 test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
   echo
@@ -75,6 +82,9 @@ if grep "^AM_PROG_LIBTOOL" configure.ac >/dev/null; then
   fi
 fi
 
+echo "Running gtkdocize..."
+gtkdocize || exit $?
+
 echo "Running aclocal $ACLOCAL_FLAGS ..."
 aclocal $ACLOCAL_FLAGS || {
   echo