[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6sczezthaixabzw5lddhemrx2yivfdf65zfvpew7tpzl3gqire@vjx4rpju5wxc>
Date: Mon, 17 Nov 2025 11:48:42 +0100
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
Cc: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
Linux Doc Mailing List <linux-doc@...r.kernel.org>, Jonathan Corbet <corbet@....net>,
Mauro Carvalho Chehab <mchehab@...nel.org>, linux-kernel@...r.kernel.org, Miguel Ojeda <ojeda@...nel.org>
Subject: Re: [PATCH 0/1] fix rustdoc build detection
On Mon, Nov 17, 2025 at 10:19:18AM +0100, Miguel Ojeda wrote:
> On Mon, Nov 17, 2025 at 10:13 AM Mauro Carvalho Chehab
> <mchehab+huawei@...nel.org> wrote:
> >
> > Another alternative would be to modify the rustdoc target inside
> > rust Makefile to make it dependent on htmldocs, but that would require
> > more work.
>
> Why? No, there is no need to build any htmldocs to build the Rust
> documentation, so that would be wrong.
Sure, Sphinx (including kernel-doc) build and rust doca build are
independent. Yet, Makefile "htmldocs" target currently does both.
It could make sense to have a separate target if one want to build
them both, e.g. something like:
make rustdoc - builds just rust docs
make htmldocs - builds all non-rust docs
make allhtmldocs - makes both
On other words, we could add a rule like:
rusthtmldocs: rustdoc htmldocs
and simplify the makefile and the wrapper.
PS.: I'm using "allhtmldocs" just to make clear about what
I meant. Not sure if this would be the best name for the
joint html output target.
--
Thanks,
Mauro
Powered by blists - more mailing lists