Skip to contentSkip to conversation

doc: make clean does not remove some xml files

PATCH In review Masanari Iida 2 participants 2 messages Apr 23, 2014 Documentation

lore
Share & tools
lore
#0 lore raw

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
index b444f2e..ec91911 100644
@@ -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
reviewer
#1 lore raw
Quoted 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".

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
index b444f2e..ec91911 100644
@@ -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