summaryrefslogtreecommitdiff
path: root/newplugin
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-10-24 13:36:47 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2010-10-24 13:36:47 +0200
commitdfae3196863882718ce89a2209cb2d098b83f33d (patch)
tree39f8752b84c35bb6c7a362a717c0da90c5ab8b09 /newplugin
parente0dcecf96df396a5608309d4755f9e7d74afd75d (diff)
downloadvdr-dfae3196863882718ce89a2209cb2d098b83f33d.tar.gz
vdr-dfae3196863882718ce89a2209cb2d098b83f33d.tar.bz2
Passing package name and version to xgettext
Diffstat (limited to 'newplugin')
-rwxr-xr-xnewplugin4
1 files changed, 2 insertions, 2 deletions
diff --git a/newplugin b/newplugin
index ffc43d3b..9441ac9a 100755
--- a/newplugin
+++ b/newplugin
@@ -12,7 +12,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: newplugin 2.2 2010/02/06 14:50:03 kls Exp $
+# $Id: newplugin 2.3 2010/10/24 13:35:02 kls Exp $
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
@@ -142,7 +142,7 @@ I18Npot = \$(PODIR)/\$(PLUGIN).pot
msgfmt -c -o \$\@ \$<
\$(I18Npot): \$(wildcard *.c)
- xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --msgid-bugs-address='<see README>' -o \$\@ \$^
+ xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-\$(PLUGIN) --package-version=\$(VERSION) --msgid-bugs-address='<see README>' -o \$\@ \$^
%.po: \$(I18Npot)
msgmerge -U --no-wrap --no-location --backup=none -q \$\@ \$<