Skip to content
Permalink
Browse files

Use make functions for HELP_LINGUAS

  • Loading branch information...
raveit65 committed Nov 15, 2018
1 parent 413f6cc commit 8bf0fa7ea32a607a499d516aeb9658534fe3ac63
Showing with 5 additions and 1 deletion.
  1. +5 −1 help/Makefile.am
@@ -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.
You can’t perform that action at this time.