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 6, 2018
1 parent a619c15 commit 95541ae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion help/Makefile.am
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ HELP_MEDIA = \
figures/engrampa_rightarrow.png \ figures/engrampa_rightarrow.png \
figures/engrampa_uparrow.png figures/engrampa_uparrow.png


HELP_LINGUAS = bg ca cs de el en_GB es fi fr it ja oc nl ru sv vi 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 -include $(top_srcdir)/git.mk

0 comments on commit 95541ae

Please sign in to comment.