aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/DocBook/Makefile')
-rw-r--r--Documentation/DocBook/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
index 4c8f4d6e114a..9632444f6c62 100644
--- a/Documentation/DocBook/Makefile
+++ b/Documentation/DocBook/Makefile
@@ -144,7 +144,8 @@ quiet_cmd_db2pdf = PDF $@
144 $(call cmd,db2pdf) 144 $(call cmd,db2pdf)
145 145
146 146
147main_idx = Documentation/DocBook/index.html 147index = index.html
148main_idx = Documentation/DocBook/$(index)
148build_main_index = rm -rf $(main_idx) && \ 149build_main_index = rm -rf $(main_idx) && \
149 echo '<h1>Linux Kernel HTML Documentation</h1>' >> $(main_idx) && \ 150 echo '<h1>Linux Kernel HTML Documentation</h1>' >> $(main_idx) && \
150 echo '<h2>Kernel Version: $(KERNELVERSION)</h2>' >> $(main_idx) && \ 151 echo '<h2>Kernel Version: $(KERNELVERSION)</h2>' >> $(main_idx) && \
@@ -233,7 +234,7 @@ clean-files := $(DOCBOOKS) \
233 $(patsubst %.xml, %.pdf, $(DOCBOOKS)) \ 234 $(patsubst %.xml, %.pdf, $(DOCBOOKS)) \
234 $(patsubst %.xml, %.html, $(DOCBOOKS)) \ 235 $(patsubst %.xml, %.html, $(DOCBOOKS)) \
235 $(patsubst %.xml, %.9, $(DOCBOOKS)) \ 236 $(patsubst %.xml, %.9, $(DOCBOOKS)) \
236 $(C-procfs-example) 237 $(C-procfs-example) $(index)
237 238
238clean-dirs := $(patsubst %.xml,%,$(DOCBOOKS)) man 239clean-dirs := $(patsubst %.xml,%,$(DOCBOOKS)) man
239 240