Re: [PATCH 2/2] kbuild: remove old Rust docs output path

From: Andreas Hindborg
Date: Thu Oct 19 2023 - 08:05:25 EST



Miguel Ojeda <ojeda@xxxxxxxxxx> writes:

> The Rust code documentation output path moved from `rust/doc` to
> `Documentation/output/rust/rustdoc`. The `make cleandocs` target
> takes care of cleaning it now since it is integrated with the rest
> of the documentation.
>
> Thus remove the old reference.
>
> Fixes: 48fadf440075 ("docs: Move rustdoc output, cross-reference it")
> Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
>

Reviewed-by: Andreas Hindborg <a.hindborg@xxxxxxxxxxx>

---
> Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index 373649c7374e..040018111f32 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1474,7 +1474,7 @@ endif # CONFIG_MODULES
> # Directories & files removed with 'make clean'
> CLEAN_FILES += vmlinux.symvers modules-only.symvers \
> modules.builtin modules.builtin.modinfo modules.nsdeps \
> - compile_commands.json .thinlto-cache rust/test rust/doc \
> + compile_commands.json .thinlto-cache rust/test \
> rust-project.json .vmlinux.objs .vmlinux.export.c
>
> # Directories & files removed with 'make mrproper'