Conditionally disable generating help translations
The gnome-doc-utils dependency is problematic for gnome-continuous. This adds a configure switch --disable-documentation that turns off generating and installing the translated help, which is the only thing that requires xml2po and thus gnome-doc-utils. Closes: bgo #726585
This commit is contained in:
parent
6cf3f09384
commit
6ea5612863
3 changed files with 19 additions and 7 deletions
6
configure
vendored
6
configure
vendored
|
|
@ -34,6 +34,8 @@ configure_help() {
|
|||
Disable checking for errors in generated desktop file.
|
||||
--disable-icon-update
|
||||
Disable icon cache update.
|
||||
--disable-documentation
|
||||
Disable generating and installing translated help documentation.
|
||||
|
||||
Some influential environment variables:
|
||||
PKG_CONFIG_PATH Adds directories to pkg-config's search path.
|
||||
|
|
@ -104,6 +106,10 @@ do
|
|||
--disable-desktop-validate)
|
||||
CMDLINE="${CMDLINE} -DDESKTOP_VALIDATE=OFF"
|
||||
;;
|
||||
|
||||
--disable-documentation)
|
||||
CMDLINE="${CMDLINE} -DTRANSLATE_HELP=OFF"
|
||||
;;
|
||||
|
||||
VALAC) [ ! $value ] && abort $1
|
||||
VALAC=$value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue