summaryrefslogtreecommitdiff
path: root/help/Makefile.am
diff options
context:
space:
mode:
authorrbuj <[email protected]>2018-10-04 17:52:27 +0200
committerraveit65 <[email protected]>2018-10-06 20:54:45 +0200
commit81b480b2fa5957d20c1d5a64af7c8b0ac358e66e (patch)
tree73322439eb71ed53e400783ffbe11f6fde7981ed /help/Makefile.am
parent8cdd51126edec1034713be372a0f2866ed7b76f2 (diff)
downloadpluma-81b480b2fa5957d20c1d5a64af7c8b0ac358e66e.tar.bz2
pluma-81b480b2fa5957d20c1d5a64af7c8b0ac358e66e.tar.xz
Use make functions for HELP_LINGUAS
Diffstat (limited to 'help/Makefile.am')
-rw-r--r--help/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/help/Makefile.am b/help/Makefile.am
index 4eea6ea4..fd1c9a2b 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -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