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

[lintian] 01/01: debian/rules: Install Lintian::Tutorial manpages



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

jwilk pushed a commit to branch master
in repository lintian.

commit a73858fdc6dadf42d8195a49eddb912341e06da2
Author: Jakub Wilk <jwilk@debian.org>
Date:   Mon Apr 25 00:02:07 2016 +0200

    debian/rules: Install Lintian::Tutorial manpages
---
 debian/changelog | 1 +
 debian/rules     | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e13d595..2ae3e49 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,7 @@ lintian (2.5.45) UNRELEASED; urgency=medium
     + [JW] Put "Debian Package Checker" in all manpage headers.
     + [JW] Put Lintian version in all manpage footers.
     + [JW] Simplify manpage generation.
+    + [JW] Install Lintian::Tutorial manpages.
 
   * reporting/{config,html_reports}:
     + [NT] Remove "$COPY_DOCS" configuration option.  The
diff --git a/debian/rules b/debian/rules
index b17ce40..c3eabad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -82,9 +82,9 @@ generate-docs-stamp: $(docsource)
 		BASENAME=$$(basename "$$POD" .pod) ; \
 		$(pod2man) --section=1 "$$POD" > "man/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 ; \
+	set -e ; for POD in $$(find doc/tutorial lib/Lintian lib/Test -type f '!' -path '*/Internal/*' '!' -path '*/Output/*' '!' -path '*/Tag/TextUtil.pm'  ) ; do \
+		BASENAME=$$(echo "$$POD" | perl -pe 's@^(doc/tutorial|lib)/@@; s@/@::@g; s/\.(pod|pm)$$//') ; \
+		$(pod2man) --name="$$BASENAME" --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: