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 8cdd511 commit 81b480b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions help/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ HELP_MEDIA = \
figures/pluma_recent_files_menu_icon.png \
figures/pluma_window.png

HELP_LINGUAS = ar bg ca cs da de el es fi fr hu it ja ko oc pt_BR ru sv th uk zh_CN zh_HK zh_TW

# 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 81b480b

Please sign in to comment.