[P/U][PATCH] UBUNTU: [Packaging] clean up the distclean rule

Masahiro Yamada masahiro.yamada at canonical.com
Fri Feb 21 01:47:39 UTC 2025


debian/control appears twice. Remove the second one

$(DEBIAN)/control.stub is created during 'debian/rules clean', but
debian/control.stub is never created.

Signed-off-by: Masahiro Yamada <masahiro.yamada at canonical.com>
---
 debian/rules | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 8b026801e649..b1a133265836 100755
--- a/debian/rules
+++ b/debian/rules
@@ -153,8 +153,7 @@ clean: debian/control debian/canonical-certs.pem debian/canonical-revoked-certs.
 
 .PHONY: distclean
 distclean: clean
-	rm -rf debian/control debian/changelog \
-		debian/control debian/control.stub debian/copyright
+	rm -rf debian/control debian/changelog debian/copyright
 
 # Builds the image, arch headers and debug packages
 include debian/rules.d/2-binary-arch.mk
-- 
2.43.0




More information about the kernel-team mailing list