[diffoscope] 03/05: Use our bin/diffoscope wrapper in manpage generation to ensure we are using the local version of diffoscope.

Chris Lamb chris at chris-lamb.co.uk
Sun Mar 18 22:00:10 CET 2018


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

lamby pushed a commit to branch master
in repository diffoscope.

commit 075d9446705aa849725b72ae990acaebf09624b3
Author: Chris Lamb <lamby at debian.org>
Date:   Sun Mar 18 16:57:06 2018 -0400

    Use our bin/diffoscope wrapper in manpage generation to ensure we are using the local version of diffoscope.
---
 doc/Makefile   | 2 +-
 doc/diffoscope | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/doc/Makefile b/doc/Makefile
index 919c926..109cc4c 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -18,7 +18,7 @@ SED_rst2man_output_to_h2m_input = \
 all: $(PACKAGE).1
 
 $(PACKAGE).1: $(PACKAGE).h2m ../$(PACKAGE)/__init__.py
-	help2man --version-string=$(VERSION) ./$(PACKAGE) -N --include="$<" | \
+	help2man --version-string=$(VERSION) ../bin/$(PACKAGE) -N --include="$<" | \
 	  sed $(SED_rm_python_usage_msg) > "$@"
 
 $(PACKAGE).h2m: $(PACKAGE).h2m.0 ../README.rst Makefile
diff --git a/doc/diffoscope b/doc/diffoscope
deleted file mode 100755
index a91bd10..0000000
--- a/doc/diffoscope
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-# dummy program wrapper for help2man
-cd ..
-exec python3 -m diffoscope.main "$@"

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


More information about the diffoscope mailing list