[libhtml-lint-perl] 01/02: debian/rules: replace dpkg-parsechangelog call with /usr/share/dpkg/pkg-info.mk.
gregor herrmann
gregoa at debian.org
Thu Aug 3 20:51:07 UTC 2017
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libhtml-lint-perl.
commit 958f38036002c606c27f8ba5048d83ddf0901664
Author: gregor herrmann <gregoa at debian.org>
Date: Thu Aug 3 16:51:00 2017 -0400
debian/rules: replace dpkg-parsechangelog call with /usr/share/dpkg/pkg-info.mk.
---
debian/rules | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index c5de181..6f2986f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,8 +33,9 @@ DEB_UPSTREAM_TARBALL_MD5 = 13e14932f7b63db5e5dc54f608148c34
DEB_INSTALL_MANPAGES_weblint-perl := debian/weblint.1
+include /usr/share/dpkg/pkg-info.mk
common-build-indep::
- txt2man -t weblint -s 1 -v "Linux Reference Manual" -r $$(dpkg-parsechangelog -SVersion) debian/weblint.txt > debian/weblint.1
+ txt2man -t weblint -s 1 -v "Linux Reference Manual" -r $(DEB_VERSION) debian/weblint.txt > debian/weblint.1
common-binary-post-install-indep::
mv debian/libhtml-lint-perl/usr/bin debian/weblint-perl/usr
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhtml-lint-perl.git
More information about the Pkg-perl-cvs-commits
mailing list