summaryrefslogtreecommitdiff
path: root/help
diff options
context:
space:
mode:
authorrbuj <[email protected]>2018-10-04 17:06:32 +0200
committerraveit65 <[email protected]>2018-10-06 15:04:11 +0200
commit1982f4f2be7bb3a0d7d014aef9a37afebd82e2f7 (patch)
treec64f82154d538fb319e56165552a80a4fc64ddb2 /help
parentd5d8de6635f04554c6200a5f8db5d81d9325a660 (diff)
downloadmate-control-center-1982f4f2be7bb3a0d7d014aef9a37afebd82e2f7.tar.bz2
mate-control-center-1982f4f2be7bb3a0d7d014aef9a37afebd82e2f7.tar.xz
Use make functions for HELP_LINGUAS
Diffstat (limited to 'help')
-rw-r--r--help/Makefile.am22
1 files changed, 20 insertions, 2 deletions
diff --git a/help/Makefile.am b/help/Makefile.am
index 70bf2969..fec23210 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -1,8 +1,26 @@
@YELP_HELP_RULES@
HELP_ID = mate-control-center
-HELP_FILES = index.docbook config-accessibility-keyboard.xml config-background.xml config-behavior.xml config-cds.xml config-default-apps.xml config-file-type.xml config-hints.xml config-html.xml config-kbd.xml config-keybindings.xml config-mouse.xml config-screensaver.xml config-themes.xml
+HELP_FILES = \
+ index.docbook \
+ config-accessibility-keyboard.xml \
+ config-background.xml \
+ config-behavior.xml \
+ config-cds.xml \
+ config-default-apps.xml \
+ config-file-type.xml \
+ config-hints.xml \
+ config-html.xml \
+ config-kbd.xml \
+ config-keybindings.xml \
+ config-mouse.xml \
+ config-screensaver.xml \
+ config-themes.xml
-HELP_LINGUAS = ca ca@valencia cs de el en_GB es fr id it ja oc pa pl pt pt_BR ru sv th uk vi zh_CN
+# Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
+IGNORE_HELP_LINGUAS =
+HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
+ $(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
+ $(subst /,,$(dir $(wildcard */*.po))) )
-include $(top_srcdir)/git.mk