linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] doc: make clean does not remove some xml files
@ 2014-04-23 10:24 Masanari Iida
  2014-04-23 18:07 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Masanari Iida @ 2014-04-23 10:24 UTC (permalink / raw)
  To: linux-kernel, rdunlap, linux-doc; +Cc: Masanari Iida

"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@gmail.com>
---
 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
 
-- 
2.0.0.rc0.26.g779792a


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] doc: make clean does not remove some xml files
  2014-04-23 10:24 [PATCH] doc: make clean does not remove some xml files Masanari Iida
@ 2014-04-23 18:07 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2014-04-23 18:07 UTC (permalink / raw)
  To: Masanari Iida, linux-kernel, linux-doc

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@gmail.com>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-23 18:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-23 10:24 [PATCH] doc: make clean does not remove some xml files Masanari Iida
2014-04-23 18:07 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).