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 Nov 15, 2018
1 parent 413f6cc commit 8bf0fa7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion help/Makefile.am
Expand Up @@ -6,6 +6,10 @@ HELP_ID = atril
HELP_FILES = index.docbook legal.xml
HELP_MEDIA = figures/atril_start_window.png

HELP_LINGUAS = bg ca cs de el en_GB es eu fi fr it ja nl oc pt_BR ru sl sr sv uk vi 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 8bf0fa7

Please sign in to comment.