summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2010-08-29 16:03:14 +0300
committerVille Skyttä <ville.skytta@iki.fi>2010-08-29 16:03:14 +0300
commitcc0c947cf78e2e71e587b896e9e6a6f8e7f6b1cb (patch)
tree8cbef12c1bf6330ac068b996015a7df40d2c249c /Makefile
parent7333755df73e982c3b7916144e2592097ec81013 (diff)
downloadvdr-plugin-text2skin-cc0c947cf78e2e71e587b896e9e6a6f8e7f6b1cb.tar.gz
vdr-plugin-text2skin-cc0c947cf78e2e71e587b896e9e6a6f8e7f6b1cb.tar.bz2
Populate "Language" po header.
The msgmerge --lang option used is available in gettext >= 0.18.0.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 31f7820..f039e59 100644
--- a/Makefile
+++ b/Makefile
@@ -128,7 +128,7 @@ $(I18Npot): $(wildcard *.c)
xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address=http://projects.vdr-developer.org/projects/show/plg-text2skin -o $@ $^
%.po: $(I18Npot)
- msgmerge -U --no-wrap --no-location --backup=none -q $@ $<
+ msgmerge -U --no-wrap --no-location --backup=none --lang=$(*F) -q $@ $<
@touch $@
$(LOCALEDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.po