Skip to content

Commit 64e3da1

Browse files
rddunlapsravnborg
authored andcommitted
docs: also clean index.html
Missed index.html in "make cleandocs", so add it. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
1 parent 2e6cb8b commit 64e3da1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎Documentation/DocBook/Makefile‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ quiet_cmd_db2pdf = PDF $@
143143
$(call cmd,db2pdf)
144144

145145

146-
main_idx = Documentation/DocBook/index.html
146+
index = index.html
147+
main_idx = Documentation/DocBook/$(index)
147148
build_main_index = rm -rf $(main_idx) && \
148149
echo '<h1>Linux Kernel HTML Documentation</h1>' >> $(main_idx) && \
149150
echo '<h2>Kernel Version: $(KERNELVERSION)</h2>' >> $(main_idx) && \
@@ -232,7 +233,7 @@ clean-files := $(DOCBOOKS) \
232233
$(patsubst %.xml, %.pdf, $(DOCBOOKS)) \
233234
$(patsubst %.xml, %.html, $(DOCBOOKS)) \
234235
$(patsubst %.xml, %.9, $(DOCBOOKS)) \
235-
$(C-procfs-example)
236+
$(C-procfs-example) $(index)
236237

237238
clean-dirs := $(patsubst %.xml,%,$(DOCBOOKS)) man
238239

0 commit comments

Comments
 (0)