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 8, 2018
1 parent 443e594 commit 9af4264
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion help/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@
HELP_ID = mate-sensors-applet
HELP_FILES = index.docbook legal.xml
HELP_MEDIA = figures/applet_in_panel.png
HELP_LINGUAS =

# 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))) )

0 comments on commit 9af4264

Please sign in to comment.