diff options
author | David Tardon <dtardon@redhat.com> | 2017-12-05 12:43:30 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-08-08 14:47:27 +0200 |
commit | bc394374b28238747f09e18fb97214ee69db6976 (patch) | |
tree | d8150acf78095b93e6778ec2f9f36116734f0eb6 /configure.ac | |
parent | f67b2270770e28ed794e0682d40da566b1e4e51c (diff) |
allow to build only HTML help
Change-Id: I4debf079be228e5ce5fae5f1a153f78800407a59
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 7e27553b12ae..6a1bdc039da9 100644 --- a/configure.ac +++ b/configure.ac @@ -1876,8 +1876,9 @@ AC_ARG_WITH(help, can be used to bundle only the common part, .e.g help-specific icons. This is useful when you build the helpcontent separately.]) [ - Usage: --with-help build the entire local help + Usage: --with-help build the old local help --without-help no local help (default) + --with-help=html build the new HTML local help --with-help=common bundle common files for the local help but do not build the whole help ], @@ -4607,16 +4608,24 @@ HELP_COMMON_ONLY=FALSE if test -n "$with_help" -a "$with_help" != "no" -a $_os != iOS -a $_os != Android; then BUILD_TYPE="$BUILD_TYPE HELP" GIT_NEEDED_SUBMODULES="helpcontent2 $GIT_NEEDED_SUBMODULES" - if test "$with_help" = "common" ; then + case "$with_help" in + "common") HELP_COMMON_ONLY=TRUE AC_MSG_RESULT([common only]) - else + ;; + "html") + ENABLE_HTMLHELP=TRUE + AC_MSG_RESULT([HTML]) + ;; + *) SCPDEFS="$SCPDEFS -DWITH_HELP" AC_MSG_RESULT([yes]) - fi + ;; + esac else AC_MSG_RESULT([no]) fi +AC_SUBST([ENABLE_HTMLHELP]) AC_SUBST(HELP_COMMON_ONLY) dnl Test whether to include MySpell dictionaries |