[gimp-help-2] Make it optional to build the HTML with a language selector #168256
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-help-2] Make it optional to build the HTML with a language selector #168256
- Date: Wed, 5 Dec 2012 02:40:08 +0000 (UTC)
commit 923be16ca093def1bdf7dcc2b44fdb5fe8cad7af
Author: Roman Joost <roman bromeco de>
Date: Wed Dec 5 12:18:12 2012 +1000
Make it optional to build the HTML with a language selector #168256
configure.ac | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a861f7c..0a79097 100644
--- a/configure.ac
+++ b/configure.ac
@@ -234,6 +234,22 @@ fi
AC_SUBST(XSLTFLAGS)
+
+# Optionally allow to build a language selector. A HTML menu is
+# rendered based on ALL_LINGUAS below the header navigation in the HTML
+# output.
+
+AC_ARG_ENABLE(languageMenu,
+ AS_HELP_STRING([--enable-languageMenu],
+ [Compile the HTML output with a language selector.]))
+
+if test "x$enable_languageMenu" == "xyes"; then
+ XSLTFLAGS="$XSLTFLAGS --stringparam gimp.help.languageselector 1"
+fi
+
+AC_SUBST(XSLTFLAGS)
+
+
# Optionally search for pngnq and pngcrush, which are helpful for
# creating distributions
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]