summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-05-21 15:13:05 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-05-21 15:13:05 +0200
commit1c46aec47a9059d308e21391a8b8e92bd1c41737 (patch)
tree457a1aa9b9098673c4c57571d7f5716a98453a42 /doc
parenta680e061adae846d1c02dd0bb4b1f951592c9580 (diff)
downloadapt-1c46aec47a9059d308e21391a8b8e92bd1c41737.tar.gz
apply the correct metadata (package, version, mail) to all pot and po files
Diffstat (limited to 'doc')
-rw-r--r--doc/makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/makefile b/doc/makefile
index 4c0a431fd..d9542b438 100644
--- a/doc/makefile
+++ b/doc/makefile
@@ -83,14 +83,18 @@ ifdef PO4A
doc: po4a
update-po:
- po4a --previous --no-backups --force --no-translations po4a.conf
+ po4a --previous --no-backups --force --no-translations \
+ --package-name='$(PACKAGE)' --package-version='$(PACKAGE_VERSION)' \
+ --msgid-bugs-address='$(PACKAGE_MAIL)' po4a.conf
po4a:
- po4a --previous --no-backups po4a.conf
+ po4a --previous --no-backups \
+ --package-name='$(PACKAGE)' --package-version='$(PACKAGE_VERSION)' \
+ --msgid-bugs-address='$(PACKAGE_MAIL)' po4a.conf
endif
stats:
- for i in po/*.po; do echo -n "$$i: "; msgfmt --statistics $$i; done
+ for i in po/*.po; do echo -n "$$i: "; msgfmt --output-file=/dev/null --statistics $$i; done
ifdef DOXYGEN
DOXYGEN_SOURCES = $(shell find $(BASE)/apt-pkg -not -name .\\\#* -and \( -name \*.cc -or -name \*.h \) )