kbuild: deb-pkg: call more misc debhelper commands
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 13 Jan 2024 10:43:39 +0000 (19:43 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 19 Feb 2024 09:20:39 +0000 (18:20 +0900)
commitf96beb84eff698aefde7cea2bbf1de4f688c4750
treef556c61853a85d1d16776be555fcbadda2093995
parent1d7bae8f8c85ddf153f302cd8d2f33d34762b0fd
kbuild: deb-pkg: call more misc debhelper commands

Use dh_prep instead of removing old build directories manually.

Use dh_clean instead of removing build directories and debian/files
manually.

Call dh_testdir and dh_testroot for preliminary checks.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <n.schier@avm.de>
scripts/package/builddeb
scripts/package/debian/rules