summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2013-02-13 22:46:08 +0100
committerJohns <johns98@gmx.net>2013-02-13 22:46:08 +0100
commitbccd959833cd9b8ca2d0617406f8dc26562d5a96 (patch)
tree79cd805d668d7f6984d3c7f0940a50bc8275a68c /Makefile
parent240fc17471991c521a65eee8290b0120069e596e (diff)
downloadvdr-plugin-softhddevice-bccd959833cd9b8ca2d0617406f8dc26562d5a96.tar.gz
vdr-plugin-softhddevice-bccd959833cd9b8ca2d0617406f8dc26562d5a96.tar.bz2
Fix .pot file generation, support _ and _N macros.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 723747d..3467573 100644
--- a/Makefile
+++ b/Makefile
@@ -152,7 +152,9 @@ I18Npot = $(PODIR)/$(PLUGIN).pot
msgfmt -c -o $@ $<
$(I18Npot): $(SRCS)
- xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='<see README>' -o $@ `ls $^`
+ xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP \
+ -k_ -k_N --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) \
+ --msgid-bugs-address='<see README>' -o $@ `ls $^`
%.po: $(I18Npot)
msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $<