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
raveit65 committed Dec 25, 2018
1 parent 6ea2317 commit e48d551
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion help/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ HELP_MEDIA = figures/file-sharing-preferences.png \
figures/sharing-over-bluetooth.png \
figures/receiving-over-bluetooth.png

HELP_LINGUAS = ca cs de el en_GB es fr it pt_BR ro sl 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))) )


-include $(top_srcdir)/git.mk

0 comments on commit e48d551

Please sign in to comment.