echo "Activated pre-commit hook."
fi
-gtkdocize
+GTKDOCIZE=$(which gtkdocize 2>/dev/null)
+if test -z $GTKDOCIZE; then
+ echo "You don't have gtk-doc installed, and thus won't be able to generate the documentation."
+ echo 'EXTRA_DIST =' > gtk-doc.make
+else
+ gtkdocize
+ gtkdocargs=--enable-gtk-doc
+fi
+
intltoolize --force --automake
autoreconf --force --install --symlink
--localstatedir=/var \
--libdir=$(libdir /usr/lib) \
--libexecdir=/usr/lib \
---enable-gtk-doc"
+$gtkdocargs"
if [ ! -L /bin ]; then
args="$args \