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 7, 2018
1 parent c67ebc7 commit 6ff9690
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion help/Makefile.am
Expand Up @@ -17,4 +17,8 @@ HELP_MEDIA = \
figures/gpm-unplugged.png \
figures/gs-prefs.png

HELP_LINGUAS = ca de el en_GB es eu fi fr hu it oc pa ru 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 6ff9690

Please sign in to comment.