summaryrefslogtreecommitdiff
path: root/cpufreq/help
diff options
context:
space:
mode:
Diffstat (limited to 'cpufreq/help')
-rw-r--r--cpufreq/help/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpufreq/help/Makefile.am b/cpufreq/help/Makefile.am
index 6f26b3ab..8a160ffa 100644
--- a/cpufreq/help/Makefile.am
+++ b/cpufreq/help/Makefile.am
@@ -13,6 +13,10 @@ HELP_MEDIA = figures/cpufreq-100.png \
figures/cpufreq-applet-selector-both.png \
figures/cpufreq-applet-selector.png
-HELP_LINGUAS = ca cs de el en_GB es eu fi fr hu nl oc pt_BR ru sv uk zh_CN zh_HK zh_TW
+# 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