summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 6a9e1ec502..e3407457b0 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,10 +1,14 @@
#!/bin/sh
set -e
+
+if type -p gtkdocize > /dev/null; then
+ gtkdocize --docdir docs
+ gtkdocargs=--enable-gtk-doc
+fi
aclocal && \
autoheader && \
autoconf && \
libtoolize --copy && \
-gtkdocize --docdir docs && \
automake --add-missing --copy