diff options
author | Sergey Udaltsov <svu@gnome.org> | 2006-07-01 20:25:46 +0000 |
---|---|---|
committer | Sergey Udaltsov <svu@gnome.org> | 2006-07-01 20:25:46 +0000 |
commit | 22bd06d7614f4f94afa80a2cc9f42ac5846ab92d (patch) | |
tree | 7ac8894855fb91840ebe16f3a1a1e9a200f5cd06 /autogen.sh | |
parent | c5a0236c4f9a4ee06b3b10097c1a411f72f187ba (diff) | |
download | libxklavier-22bd06d7614f4f94afa80a2cc9f42ac5846ab92d.tar.gz |
Make life better for people without gtkdoc
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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 "$@" ... |