diff options
-rw-r--r-- | baobab/help/Makefile.am | 8 | ||||
-rw-r--r-- | gsearchtool/help/Makefile.am | 8 | ||||
-rw-r--r-- | logview/help/Makefile.am | 6 | ||||
-rw-r--r-- | mate-dictionary/help/Makefile.am | 8 |
4 files changed, 23 insertions, 7 deletions
diff --git a/baobab/help/Makefile.am b/baobab/help/Makefile.am index 8f311a7d..857d359a 100644 --- a/baobab/help/Makefile.am +++ b/baobab/help/Makefile.am @@ -3,8 +3,6 @@ HELP_ID = mate-disk-usage-analyzer HELP_FILES = index.docbook legal.xml -HELP_LINGUAS = ca cs da de el en_GB es eu fi fr it oc pl ru sv uk zh_CN zh_HK zh_TW - HELP_MEDIA = \ figures/baobab_fullscan.png \ figures/baobab_prefs.png \ @@ -13,3 +11,9 @@ HELP_MEDIA = \ figures/baobab_ringschart2.png \ figures/baobab_treemaps.png \ figures/baobab_window.png + +# 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))) ) diff --git a/gsearchtool/help/Makefile.am b/gsearchtool/help/Makefile.am index 08860198..ad59d979 100644 --- a/gsearchtool/help/Makefile.am +++ b/gsearchtool/help/Makefile.am @@ -3,6 +3,10 @@ HELP_ID = mate-search-tool HELP_FILES = index.docbook legal.xml -HELP_LINGUAS = ca cs de el en_GB es eu fi fr it ko oc ru sv uk zh_CN - HELP_MEDIA = figures/mate-search-tool_window.png + +# 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))) ) diff --git a/logview/help/Makefile.am b/logview/help/Makefile.am index be63d4f4..249a78a8 100644 --- a/logview/help/Makefile.am +++ b/logview/help/Makefile.am @@ -5,4 +5,8 @@ HELP_FILES = index.docbook legal.xml HELP_MEDIA = \ figures/syslog_window.png -HELP_LINGUAS = ca cs de el en_GB es eu fi fr it ko oc ru sv uk 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))) ) diff --git a/mate-dictionary/help/Makefile.am b/mate-dictionary/help/Makefile.am index 323a1b45..aa440193 100644 --- a/mate-dictionary/help/Makefile.am +++ b/mate-dictionary/help/Makefile.am @@ -3,8 +3,6 @@ HELP_ID = mate-dictionary HELP_FILES = index.docbook legal.xml -HELP_LINGUAS = ca cs da de el en_GB es eu fi fr it oc ru sv uk zh_CN - HELP_MEDIA = \ figures/mate-dictionary-add-source.png \ figures/mate-dictionary-applet.png \ @@ -14,3 +12,9 @@ HELP_MEDIA = \ figures/mate-dictionary-lookup.png \ figures/mate-dictionary-preferences-print.png \ figures/mate-dictionary-preferences-source.png + +# 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))) ) |