From 051029f8a43e8bbe2b0caaa674e08f44f40ddaf8 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sun, 22 Nov 2015 18:07:12 +0100 Subject: 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 --- doc/makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/makefile') 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 -- cgit v1.2.3