Re: [PATCH] doc: make clean does not remove some xml files
From: Randy Dunlap
Date: Wed Apr 23 2014 - 14:07:49 EST
On 04/23/14 03:24, Masanari Iida wrote:
> "make clean" does not remove following files in
> Documentations/Docbook.
>
> audio.h.xml, ca.h.xml, dmx.h.xml, frontend.h.xml
> net.h.xml, videodev2.h.xml vide.h.xml.
>
> These files are generated when "make xmldocs".
>
> Signed-off-by: Masanari Iida <standby24x7@xxxxxxxxx>
Hi,
The documented way to remove generated doc files is to use
'make cleandocs' (see 'make help').
AFAICT, 'make cleandocs' does remove these generated files.
If not, it would be Good if the generated files list (GENFILES
or MEDIA_TEMP) in Documentation/DocBook/media/Makefile could be used
instead of adding another list of files that might not be updated
when it should be updated.
Thanks.
> ---
> Documentation/DocBook/Makefile | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
> index b444f2e..ec91911 100644
> --- a/Documentation/DocBook/Makefile
> +++ b/Documentation/DocBook/Makefile
> @@ -14,7 +14,9 @@ DOCBOOKS := z8530book.xml device-drivers.xml \
> genericirq.xml s390-drivers.xml uio-howto.xml scsi.xml \
> 80211.xml debugobjects.xml sh.xml regulator.xml \
> alsa-driver-api.xml writing-an-alsa-driver.xml \
> - tracepoint.xml drm.xml media_api.xml w1.xml
> + tracepoint.xml drm.xml media_api.xml w1.xml \
> + audio.h.xml ca.h.xml dmx.h.xml frontend.h.xml \
> + net.h.xml videodev2.h.xml video.h.xml
>
> include Documentation/DocBook/media/Makefile
>
>
--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/