[pmg-devel] [PATCH proxmox-mailgateway 2/4] use debhelper for all targets

Stoiko Ivanov s.ivanov at proxmox.com
Fri Dec 27 19:36:39 CET 2019


remove the manual targets calling debhelper, by replacing them with a minimal
debian/rules file invoking debhelper for everything

tested by running diffoscope between the package with and without this
patch (and manually comparing the expected differences)

Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 debian/rules | 22 ++--------------------
 1 file changed, 2 insertions(+), 20 deletions(-)

diff --git a/debian/rules b/debian/rules
index 91ab708..0c06312 100644
--- a/debian/rules
+++ b/debian/rules
@@ -4,24 +4,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+%:
+	dh $@
 
-install:
-	dh_install
-	dh_installdocs
-	dh_installchangelogs
-	dh_installman
-	dh_strip_nondeterminism
-	dh_compress
-	dh_fixperms
-
-binary: install
-	dh_strip
-	dh_makeshlibs
-	dh_shlibdeps
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-.PHONY: build clean
-build clean:
-- 
2.20.1




More information about the pmg-devel mailing list