diff options
author | rbuj <[email protected]> | 2018-10-04 14:04:36 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-10-06 12:31:56 +0200 |
commit | 43a64acc08d3a7dfce7d5432c5ef0e45c7406874 (patch) | |
tree | bcd9f62bdf48440ba9eb9b08e629b93f5732a64d | |
parent | 339fb82721ad1afeb9bbb10833923d7ae40beddb (diff) | |
download | mate-applets-43a64acc08d3a7dfce7d5432c5ef0e45c7406874.tar.bz2 mate-applets-43a64acc08d3a7dfce7d5432c5ef0e45c7406874.tar.xz |
Use make functions for HELP_LINGUAS
-rw-r--r-- | accessx-status/docs/Makefile.am | 6 | ||||
-rw-r--r-- | battstat/docs/Makefile.am | 6 | ||||
-rw-r--r-- | charpick/help/Makefile.am | 6 | ||||
-rw-r--r-- | cpufreq/help/Makefile.am | 6 | ||||
-rw-r--r-- | drivemount/help/Makefile.am | 6 | ||||
-rw-r--r-- | geyes/docs/Makefile.am | 6 | ||||
-rw-r--r-- | mateweather/docs/Makefile.am | 6 | ||||
-rw-r--r-- | multiload/docs/Makefile.am | 6 | ||||
-rw-r--r-- | netspeed/help/Makefile.am | 6 | ||||
-rw-r--r-- | stickynotes/docs/Makefile.am | 6 | ||||
-rw-r--r-- | trashapplet/docs/Makefile.am | 6 |
11 files changed, 55 insertions, 11 deletions
diff --git a/accessx-status/docs/Makefile.am b/accessx-status/docs/Makefile.am index fd160e66..5f675cd9 100644 --- a/accessx-status/docs/Makefile.am +++ b/accessx-status/docs/Makefile.am @@ -14,6 +14,10 @@ HELP_MEDIA = figures/accessx_bounce-keys.png \ figures/accessx_sticky-shift-key.png \ figures/accessx_sticky-windows-key.png -HELP_LINGUAS = bg ca cs de el en_GB es eu fi fr gl it ko nl oc 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))) ) -include $(top_srcdir)/git.mk diff --git a/battstat/docs/Makefile.am b/battstat/docs/Makefile.am index a451f391..94cc5507 100644 --- a/battstat/docs/Makefile.am +++ b/battstat/docs/Makefile.am @@ -9,6 +9,10 @@ HELP_MEDIA = figures/battstat-applet-expanded.png \ figures/battstat-preferences.png \ figures/context-menu.png -HELP_LINGUAS = ca cs bg da de el en_GB es eu fi fr ko oc pa pt_BR 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))) ) -include $(top_srcdir)/git.mk diff --git a/charpick/help/Makefile.am b/charpick/help/Makefile.am index d2a17097..95a1531c 100644 --- a/charpick/help/Makefile.am +++ b/charpick/help/Makefile.am @@ -7,6 +7,10 @@ HELP_MEDIA = figures/charpalette_applet.png \ figures/charpick_characters.png \ figures/charpick-preferences.png -HELP_LINGUAS = bg ca cs de el en_GB es eu fi fr it ko nl oc pt_BR 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))) ) -include $(top_srcdir)/git.mk 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 diff --git a/drivemount/help/Makefile.am b/drivemount/help/Makefile.am index 197df0a0..3c5fd9fd 100644 --- a/drivemount/help/Makefile.am +++ b/drivemount/help/Makefile.am @@ -9,6 +9,10 @@ HELP_MEDIA = figures/drivemount-applet_eject.png \ figures/drivemount-applet_open.png \ figures/drivemount-applet_status.png -HELP_LINGUAS = ca cs da de el en_GB es eu fi fr it ko oc pa 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))) ) -include $(top_srcdir)/git.mk diff --git a/geyes/docs/Makefile.am b/geyes/docs/Makefile.am index 5e85b96a..43cd82dc 100644 --- a/geyes/docs/Makefile.am +++ b/geyes/docs/Makefile.am @@ -5,6 +5,10 @@ HELP_FILES = index.docbook legal.xml HELP_MEDIA = figures/geyes_applet.png -HELP_LINGUAS = ast bg ca cs da de el en_GB es eu fi fr it ko oc 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 diff --git a/mateweather/docs/Makefile.am b/mateweather/docs/Makefile.am index ce3456dc..4def65e5 100644 --- a/mateweather/docs/Makefile.am +++ b/mateweather/docs/Makefile.am @@ -18,6 +18,10 @@ HELP_MEDIA = figures/mateweather_applet.png \ figures/stock_weather-storm.png \ figures/stock_weather-sunny.png -HELP_LINGUAS = ar ca cs de el en_GB es eu fi fr ko nl oc pa pt_BR 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))) ) -include $(top_srcdir)/git.mk diff --git a/multiload/docs/Makefile.am b/multiload/docs/Makefile.am index 21854670..d8bec37a 100644 --- a/multiload/docs/Makefile.am +++ b/multiload/docs/Makefile.am @@ -6,6 +6,10 @@ HELP_FILES = index.docbook legal.xml HELP_MEDIA = figures/multiload-preferences.png \ figures/system-monitor-applet_window.png -HELP_LINGUAS = ca cs de el en_GB es eu fi fr ko oc pa pt_BR 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))) ) -include $(top_srcdir)/git.mk diff --git a/netspeed/help/Makefile.am b/netspeed/help/Makefile.am index a129ff2c..4f65c606 100644 --- a/netspeed/help/Makefile.am +++ b/netspeed/help/Makefile.am @@ -14,6 +14,10 @@ HELP_MEDIA = \ figures/settings.png \ figures/wavelan.png -HELP_LINGUAS = de el fr pt_BR sv +# 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 diff --git a/stickynotes/docs/Makefile.am b/stickynotes/docs/Makefile.am index d9ea52b8..d82b6708 100644 --- a/stickynotes/docs/Makefile.am +++ b/stickynotes/docs/Makefile.am @@ -9,6 +9,10 @@ HELP_MEDIA = figures/stickynote-right-menu-lock.png \ figures/stickynotes-note-prefs.png \ figures/stickynotes-prefs.png -HELP_LINGUAS = ca cs de el en_GB es eu fi fr ko oc pa 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 diff --git a/trashapplet/docs/Makefile.am b/trashapplet/docs/Makefile.am index f6692946..586dc32b 100644 --- a/trashapplet/docs/Makefile.am +++ b/trashapplet/docs/Makefile.am @@ -5,6 +5,10 @@ HELP_FILES = index.docbook legal.xml HELP_MEDIA = figures/trash-applet.png -HELP_LINGUAS = ca cs da de el en_GB es eu fi fr hu it nl oc pa 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 |