summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorBertrand Lorentz <bertrand.lorentz@gmail.com>2010-08-13 19:23:18 +0200
committerBertrand Lorentz <bertrand.lorentz@gmail.com>2010-08-13 19:23:18 +0200
commit8a46233816236584fb8ea098fd16d55c4a7275be (patch)
treee71c11ffc917c262046b1a9f44f79f2c3814b5fe /autogen.sh
parentb6161a23aa80ac153f8017fdb928b5fa59942d44 (diff)
Add the user help to the build
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 28bcbfa..d61f3e4 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -64,6 +64,15 @@ check_autotool_version $LIBTOOLIZE 1.4.3
check_autotool_version intltoolize 0.35.0
check_autotool_version pkg-config 0.14.0
+if [ $(pkg-config --modversion gnome-doc-utils 2> /dev/null) ]; then
+ run gnome-doc-prepare --automake --force
+else
+ echo "gnome-doc-utils not found; user help will not be built"
+ echo "AC_DEFUN([GNOME_DOC_INIT], [AC_MSG_NOTICE([])])" > build/m4/gnome-doc-utils.m4
+ ACLOCAL_FLAGS="-I build/m4 $ACLOCAL_FLAGS"
+ touch gnome-doc-utils.make
+fi
+
run intltoolize --force --copy
run $LIBTOOLIZE --force --copy --automake
run aclocal -I build/m4/shamrock -I build/m4/shave -I build/m4/extensions $ACLOCAL_FLAGS