diff options
| author | rbuj <[email protected]> | 2018-10-04 17:52:27 +0200 |
|---|---|---|
| committer | raveit65 <[email protected]> | 2018-10-06 20:56:14 +0200 |
| commit | ce2921c4fb84d5fbc8baca74446352a4ebb331a7 (patch) | |
| tree | a7ebb581b5738c1b2c1b820485c957aa20a247fe /help | |
| parent | 708be8cde5bb08c1acc5cf08956ed48170538c3c (diff) | |
| download | pluma-ce2921c4fb84d5fbc8baca74446352a4ebb331a7.tar.bz2 pluma-ce2921c4fb84d5fbc8baca74446352a4ebb331a7.tar.xz | |
Use make functions for HELP_LINGUAS
Diffstat (limited to 'help')
| -rw-r--r-- | help/Makefile.am | 7 |
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 |
