Skip to content

Commit

Permalink
Use make functions for HELP_LINGUAS
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuj authored and raveit65 committed Oct 8, 2018
1 parent 0fc282c commit 05fd8e6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions help/Makefile.am
Expand Up @@ -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))) )

0 comments on commit 05fd8e6

Please sign in to comment.