doc: make clean does not remove some xml files
PATCH 1/1 doc: make clean does not remove some xml files
"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".
--- Documentation/DocBook/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/DocBook/Makefile +3 -1
@@ -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
Signature · 1 line
2.0.0.rc0.26.g779792a
Randy Dunlap
reviewerQuoted 9 lines · 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 <[email protected]>
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.
Quoted 20 lines
--- Documentation/DocBook/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)Documentation/DocBook/Makefile +3
-1@@ -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
Signature · 1 line
~Randy