diff options
author | Bertrand Lorentz <bertrand.lorentz@gmail.com> | 2010-08-13 19:23:18 +0200 |
---|---|---|
committer | Bertrand Lorentz <bertrand.lorentz@gmail.com> | 2010-08-13 19:23:18 +0200 |
commit | 8a46233816236584fb8ea098fd16d55c4a7275be (patch) | |
tree | e71c11ffc917c262046b1a9f44f79f2c3814b5fe /autogen.sh | |
parent | b6161a23aa80ac153f8017fdb928b5fa59942d44 (diff) |
Add the user help to the build
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |