[diffoscope] 01/04: debian/rules: Use a pattern-based rule for rst2man-based manpages instead of hard-coding "diffoscope.1".

Chris Lamb chris at chris-lamb.co.uk
Sun Aug 14 14:31:29 CEST 2016


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

lamby pushed a commit to branch master
in repository diffoscope.

commit 0e0989863e1aae3d01ef6fc03f245be5694a412f
Author: Chris Lamb <lamby at debian.org>
Date:   Sun Aug 14 13:23:12 2016 +0100

    debian/rules: Use a pattern-based rule for rst2man-based manpages instead of hard-coding "diffoscope.1".
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 43a7477..3bf45ff 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,7 +28,7 @@ override_dh_gencontrol:
 		echo "diffoscope:Recommends=$$TOOLS" >> debian/diffoscope.substvars
 	dh_gencontrol -O--buildsystem=pybuild
 
-debian/diffoscope.1: debian/diffoscope.1.rst
+debian/%.1: debian/%.1.rst
 	rst2man $< $@
 
 debian/diffoscope.bash-completion:

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


More information about the diffoscope mailing list