echo "Activated pre-commit hook."
fi
-gtkdocize
+GTKDOCIZE=`which gtkdocize`
+if test -z $GTKDOCIZE; then
+ echo "You don't have gtk-doc installed, and thus"
+ echo "won't be able to generate the documentation."
+ NOGTKDOC=1
+ echo 'EXTRA_DIST =' > gtk-doc.make
+fi
+
+if test -z "$NOGTKDOC"; then
+ gtkdocize || exit $?
+fi
intltoolize --force --automake
autoreconf --force --install --symlink