[diffoscope] 03/04: debian/rules: Dynamically calculate manpages to generate over hardcoding.
Chris Lamb
chris at chris-lamb.co.uk
Sun Aug 14 14:31:30 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 38d5c182b44cb8ebfabe4513a22af418c15fd95c
Author: Chris Lamb <lamby at debian.org>
Date: Sun Aug 14 13:29:32 2016 +0100
debian/rules: Dynamically calculate manpages to generate over hardcoding.
Signed-off-by: Chris Lamb <lamby at debian.org>
---
debian/rules | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 3bf45ff..c3ac13c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,6 @@
#!/usr/bin/make -f
+MANPAGES = $(patsubst %.1.rst,%.1,$(wildcard debian/*.1.rst))
VERSION_dch := $(shell dpkg-parsechangelog --show-field Version)
VERSION_py := $(shell awk '/^VERSION = / {gsub(/"/, "", $$3); print $$3}' diffoscope/__init__.py )
@@ -37,7 +38,7 @@ debian/diffoscope.bash-completion:
override_dh_auto_build: debian/diffoscope.bash-completion debian/diffoscope.1
dh_auto_build -O--buildsystem=pybuild
-override_dh_installman: debian/diffoscope.1
+override_dh_installman: $(MANPAGES)
dh_installman -O--buildsystem=pybuild
diffoscope/presenters/icon.py: favicon.png
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list