summaryrefslogtreecommitdiff
path: root/doc/makefile
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-11-22 18:07:12 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2015-11-25 15:20:10 +0100
commit051029f8a43e8bbe2b0caaa674e08f44f40ddaf8 (patch)
treeeed87100201df1b027980683393378c1b17699f9 /doc/makefile
parentadd81166f8ecb194ab5cf881200ab9d890abea6c (diff)
enforce a slightly more sensible default header
In 12f7536 I chose to opt for a slightly better text which avoids assigning copyright to the FSF (not because it would be wrong to do it, but is usually not what the contributor intended, but just the default. xgettext has a --foreign flag for avoiding the copyright, but po4a hasn't and an empty copyright-holder doesn't work either, so this little rework of files with sed and cat. Git-Dch: Ignore
Diffstat (limited to 'doc/makefile')
-rw-r--r--doc/makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/makefile b/doc/makefile
index 1f009b0f5..c7391f11c 100644
--- a/doc/makefile
+++ b/doc/makefile
@@ -65,6 +65,10 @@ update-po:
--porefs noline,wrap \
--package-name='$(PACKAGE)-doc' --package-version='$(PACKAGE_VERSION)' \
--msgid-bugs-address='$(PACKAGE_MAIL)' po4a.conf
+ sed -n '/^#$$/,$$p' po/apt-doc.pot > po/apt-doc.pot.headerfree
+ #cat po/apt-doc.pot > po/apt-doc.pot.headerfree
+ cat po/header.pot.txt po/apt-doc.pot.headerfree > po/apt-doc.pot
+ rm -f po/apt-doc.pot.headerfree
manpages/subdirs: $(MANPAGEPOLIST)
$(MANPAGEPOLIST) :: manpages-translation-% : %/makefile po4a.conf