From f61adac8bdc794962002d04244b0ad9a4ecc79ad Mon Sep 17 00:00:00 2001
From: gregor herrmann <gregoa@debian.org>
Date: Tue, 1 Aug 2017 12:48:58 -0400
Subject: [PATCH] debian/rules: update txt2man invocation

in order to make build reproducible.

Thanks: Daniel Shahaf for the bug report and patch.
Closes: #844236
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 9d0898d..c5de181 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,7 +34,7 @@ DEB_UPSTREAM_TARBALL_MD5 = 13e14932f7b63db5e5dc54f608148c34
 DEB_INSTALL_MANPAGES_weblint-perl := debian/weblint.1
 
 common-build-indep::
-	txt2man -p debian/weblint.txt > debian/weblint.1
+	txt2man -t weblint -s 1 -v "Linux Reference Manual" -r $$(dpkg-parsechangelog -SVersion) debian/weblint.txt > debian/weblint.1
 
 common-binary-post-install-indep::
 	mv debian/libhtml-lint-perl/usr/bin debian/weblint-perl/usr
-- 
GitLab