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

Agathe Porte agathe.porte at canonical.com
Fri Feb 21 09:50:46 UTC 2025


2025-02-21 02:48 CET, Masahiro Yamada:
> 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

Acked-by: Agathe Porte <agathe.porte at canonical.com>



More information about the kernel-team mailing list