diff options
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r-- | Documentation/DocBook/Makefile | 9 | ||||
-rw-r--r-- | Documentation/DocBook/man/Makefile | 3 |
2 files changed, 3 insertions, 9 deletions
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile index 867608ab3ca0..10b5cd6c54a0 100644 --- a/Documentation/DocBook/Makefile +++ b/Documentation/DocBook/Makefile | |||
@@ -41,7 +41,7 @@ psdocs: $(PS) | |||
41 | PDF := $(patsubst %.xml, %.pdf, $(BOOKS)) | 41 | PDF := $(patsubst %.xml, %.pdf, $(BOOKS)) |
42 | pdfdocs: $(PDF) | 42 | pdfdocs: $(PDF) |
43 | 43 | ||
44 | HTML := $(patsubst %.xml, %.html, $(BOOKS)) | 44 | HTML := $(sort $(patsubst %.xml, %.html, $(BOOKS))) |
45 | htmldocs: $(HTML) | 45 | htmldocs: $(HTML) |
46 | 46 | ||
47 | MAN := $(patsubst %.xml, %.9, $(BOOKS)) | 47 | MAN := $(patsubst %.xml, %.9, $(BOOKS)) |
@@ -152,6 +152,7 @@ quiet_cmd_db2man = MAN $@ | |||
152 | @(which xmlto > /dev/null 2>&1) || \ | 152 | @(which xmlto > /dev/null 2>&1) || \ |
153 | (echo "*** You need to install xmlto ***"; \ | 153 | (echo "*** You need to install xmlto ***"; \ |
154 | exit 1) | 154 | exit 1) |
155 | $(Q)mkdir -p $(obj)/man | ||
155 | $(call cmd,db2man) | 156 | $(call cmd,db2man) |
156 | @touch $@ | 157 | @touch $@ |
157 | 158 | ||
@@ -212,11 +213,7 @@ clean-files := $(DOCBOOKS) \ | |||
212 | $(patsubst %.xml, %.9, $(DOCBOOKS)) \ | 213 | $(patsubst %.xml, %.9, $(DOCBOOKS)) \ |
213 | $(C-procfs-example) | 214 | $(C-procfs-example) |
214 | 215 | ||
215 | clean-dirs := $(patsubst %.xml,%,$(DOCBOOKS)) | 216 | clean-dirs := $(patsubst %.xml,%,$(DOCBOOKS)) man |
216 | |||
217 | #man put files in man subdir - traverse down | ||
218 | subdir- := man/ | ||
219 | |||
220 | 217 | ||
221 | # Declare the contents of the .PHONY variable as phony. We keep that | 218 | # Declare the contents of the .PHONY variable as phony. We keep that |
222 | # information in a variable se we can use it in if_changed and friends. | 219 | # information in a variable se we can use it in if_changed and friends. |
diff --git a/Documentation/DocBook/man/Makefile b/Documentation/DocBook/man/Makefile deleted file mode 100644 index 4fb7ea0f7ac8..000000000000 --- a/Documentation/DocBook/man/Makefile +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | # Rules are put in Documentation/DocBook | ||
2 | |||
3 | clean-files := *.9.gz *.sgml manpage.links manpage.refs | ||