diff options
Diffstat (limited to 'Documentation/DocBook/Makefile')
-rw-r--r-- | Documentation/DocBook/Makefile | 5 |
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 | ||
147 | main_idx = Documentation/DocBook/index.html | 147 | index = index.html |
148 | main_idx = Documentation/DocBook/$(index) | ||
148 | build_main_index = rm -rf $(main_idx) && \ | 149 | build_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 | ||
238 | clean-dirs := $(patsubst %.xml,%,$(DOCBOOKS)) man | 239 | clean-dirs := $(patsubst %.xml,%,$(DOCBOOKS)) man |
239 | 240 | ||