diff options
author | rbuj <[email protected]> | 2018-10-06 18:12:10 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-10-08 10:12:23 +0200 |
commit | 3575449d5b4550901504fe1e4b98559f3994ef8e (patch) | |
tree | ffb7f8f96e718564fd2691aa4739f7535d0ebf13 | |
parent | f735b8aa3233076141f61d7ea880164bc4f05df3 (diff) | |
download | mate-system-monitor-3575449d5b4550901504fe1e4b98559f3994ef8e.tar.bz2 mate-system-monitor-3575449d5b4550901504fe1e4b98559f3994ef8e.tar.xz |
Use make functions for HELP_LINGUAS
-rw-r--r-- | help/Makefile.am | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/help/Makefile.am b/help/Makefile.am index 49c975b..a15b04f 100644 --- a/help/Makefile.am +++ b/help/Makefile.am @@ -16,5 +16,8 @@ HELP_MEDIA = figures/addColumn.png \ figures/systemMonitor.png \ figures/viewMenu.png -HELP_LINGUAS = ar bg ca cs da de el es fr oc pa sv 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))) ) |