diff options
-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))) ) |