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

Stewart Hore stewart.hore at canonical.com
Mon Feb 24 10:01:50 UTC 2025


On Fri, Feb 21, 2025 at 10:47:39AM +0900, Masahiro Yamada wrote:
> 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

Acked-by: Stewart Hore <stewart.hore at canonical.com>

> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list