Commit 075d9446 authored by Chris Lamb's avatar Chris Lamb 💬

Use our bin/diffoscope wrapper in manpage generation to ensure we are using...

Use our bin/diffoscope wrapper in manpage generation to ensure we are using the local version of diffoscope.
parent 3f25dd0b
......@@ -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
......
#!/bin/sh
# dummy program wrapper for help2man
cd ..
exec python3 -m diffoscope.main "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment