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

[lintian] 02/02: debian/rules: Get rid of the DIR variable



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

jwilk pushed a commit to branch master
in repository lintian.

commit 5c0f86e3aa37c6624e9fa8fd162b9339696945b9
Author: Jakub Wilk <jwilk@debian.org>
Date:   Sun Apr 24 14:04:56 2016 +0200

    debian/rules: Get rid of the DIR variable
    
    DIR was always set to "man", so it wasn't very useful.
---
 debian/changelog | 1 +
 debian/rules     | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9e2985b..9898696 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ lintian (2.5.45) UNRELEASED; urgency=medium
   * debian/rules:
     + [JW] Put "Debian Package Checker" in all manpage headers.
     + [JW] Put Lintian version in all manpage footers.
+    + [JW] Simplify manpage generation.
 
  -- Niels Thykier <niels@thykier.net>  Sun, 24 Apr 2016 07:16:45 +0000
 
diff --git a/debian/rules b/debian/rules
index 985f93c..b17ce40 100755
--- a/debian/rules
+++ b/debian/rules
@@ -79,9 +79,8 @@ generate-docs-stamp: $(docsource)
 	private/generate-lintian-pod | \
 		$(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" > "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$$//') ; \

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


Reply to: