From 647bf4cb86efd06904f41e28dd174648d90db2c3 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Tue, 3 Jul 2018 22:16:59 +0200 Subject: [PATCH] debian/rules: invoke help2man without path --- debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 35be52d..05f78fc 100755 --- a/debian/rules +++ b/debian/rules @@ -49,10 +49,11 @@ override_dh_strip: override_dh_installman-arch: mkdir -p debian/pgloader/usr/share/man/man1/ + PATH=debian/pgloader/usr/bin:$(PATH) \ help2man --version-string $(DEB_VERSION_UPSTREAM) \ --no-info \ --name "extract, transform and load data into PostgreSQL" \ - debian/pgloader/usr/bin/pgloader > \ + pgloader > \ debian/pgloader/usr/share/man/man1/pgloader.1 override_dh_gencontrol: