summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSergey Udaltsov <svu@gnome.org>2006-07-01 20:25:46 +0000
committerSergey Udaltsov <svu@gnome.org>2006-07-01 20:25:46 +0000
commit22bd06d7614f4f94afa80a2cc9f42ac5846ab92d (patch)
tree7ac8894855fb91840ebe16f3a1a1e9a200f5cd06 /autogen.sh
parentc5a0236c4f9a4ee06b3b10097c1a411f72f187ba (diff)
downloadlibxklavier-22bd06d7614f4f94afa80a2cc9f42ac5846ab92d.tar.gz
Make life better for people without gtkdoc
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh12
1 files changed, 9 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index 47aed50..7de784e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -130,8 +130,10 @@ do
autoheader
fi
- echo "Running gtkdocize ..."
- gtkdocize || exit 1
+ if [ -z "$NO_GTK_DOC" ]; then
+ echo "Running gtkdocize ..."
+ gtkdocize || exit 1
+ fi
echo "Running automake --gnu $am_opt ..."
automake --add-missing --gnu $am_opt || exit 1
@@ -147,7 +149,11 @@ do
done
#conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
-conf_flags="--enable-gtk-doc"
+if [ -z "$NO_GTK_DOC" ]; then
+ conf_flags="--enable-gtk-doc"
+else
+ conf_flags=""
+fi
if test x$NOCONFIGURE = x; then
echo Running $srcdir/configure $conf_flags "$@" ...