[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/02: Call pod2man --center "Debian Package Checker" --release "Lintian v$(VER)"



This is an automated email from the git hooks/post-receive script.

jwilk pushed a commit to branch master
in repository lintian.

commit 3e4f89f441c805e7409dbf44758301510ec9a535
Author: Jakub Wilk <jwilk@debian.org>
Date:   Sun Apr 24 13:53:58 2016 +0200

    Call pod2man --center "Debian Package Checker" --release "Lintian v$(VER)"
---
 debian/changelog | 4 ++++
 debian/rules     | 7 ++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a95cd28..9e2985b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,10 @@ lintian (2.5.45) UNRELEASED; urgency=medium
     + [NT] Re-enable pedantic tags by default.  These were
       disabled in the previous release by mistake.
 
+  * debian/rules:
+    + [JW] Put "Debian Package Checker" in all manpage headers.
+    + [JW] Put Lintian version in all manpage footers.
+
  -- Niels Thykier <niels@thykier.net>  Sun, 24 Apr 2016 07:16:45 +0000
 
 lintian (2.5.44) unstable; urgency=medium
diff --git a/debian/rules b/debian/rules
index ff653ea..985f93c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,7 @@ profiles := profiles/debian/main.profile \
 	    profiles/debian/ftp-master-auto-reject.profile
 neededfiles := debian/rules frontend/lintian $(profiles) \
 	     $(wildcard commands/*)
+pod2man := pod2man --center "Debian Package Checker" --release "Lintian v$(VER)"
 pod2mansources := $(wildcard man/*.pod)
 docsource := doc/lintian.xml README man/lintian.pod.in \
 	     $(pod2mansources)
@@ -76,15 +77,15 @@ generate-docs-stamp: $(docsource)
 	cd doc && LC_ALL=C jw -b txt lintian.xml
 	mkdir -p man/man1/ man/man3/
 	private/generate-lintian-pod | \
-		pod2man --name lintian --center "Debian Package Checker" --section=1 > man/man1/lintian.1
+		$(pod2man) --name lintian --section=1 > man/man1/lintian.1
 	set -e ; for POD in $(pod2mansources) ; do \
 		DIR=$$(dirname "$$POD") ; \
 		BASENAME=$$(basename "$$POD" .pod) ; \
-		pod2man --section=1 "$$POD" > "$$DIR/man1/$$BASENAME".1 ; \
+		$(pod2man) --section=1 "$$POD" > "$$DIR/man1/$$BASENAME".1 ; \
 	done
 	set -e ; for POD in $$(find lib/Lintian lib/Test -type f '!' -path '*/Internal/*' '!' -path '*/Output/*' '!' -path '*/Tag/TextUtil.pm'  ) ; do \
 		BASENAME=$$(echo "$$POD" | perl -pe 's@^lib/@@; s@/@::@g; s/\.pm$$//') ; \
-		pod2man --section=3 "$$POD" > "man/man3/$$BASENAME".3 ; \
+		$(pod2man) --section=3 "$$POD" > "man/man3/$$BASENAME".3 ; \
 	done
 	private/generate-html-docs doc/api.html > /dev/null
 	touch $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: