diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2010-08-10 21:02:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-11 11:59:18 -0400 |
commit | a435600e5b43238cfa84bc3d3e66fe02a10b3318 (patch) | |
tree | 82e9d0278daed80ce07e9b363bfc28b47b38dcea /Documentation/DocBook | |
parent | 79872e07ab92557e2a7eeb55452f262e179db5bc (diff) |
docbook: need xmldoclinks for all doc types
$ rm -rf build
$ mkdir build
$ cp .config build
$ make O=build htmldocs
...
xmlto: linux-2.6/build/Documentation/DocBook/media.xml
does not validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
linux-2.6/build/Documentation/DocBook/media.xml:4:
warning: failed to load external entity
"linux-2.6/build/Documentation/DocBook/media-entities.tmpl"
We need the xmldoclinks built for any document types built from the
XML sources.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: Andy Whitcroft <apw@canonical.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r-- | Documentation/DocBook/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile index 4b603c5c3cc1..34929f24c284 100644 --- a/Documentation/DocBook/Makefile +++ b/Documentation/DocBook/Makefile | |||
@@ -35,7 +35,7 @@ PS_METHOD = $(prefer-db2x) | |||
35 | PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs cleandocs xmldoclinks | 35 | PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs cleandocs xmldoclinks |
36 | 36 | ||
37 | BOOKS := $(addprefix $(obj)/,$(DOCBOOKS)) | 37 | BOOKS := $(addprefix $(obj)/,$(DOCBOOKS)) |
38 | xmldocs: $(BOOKS) xmldoclinks | 38 | xmldocs: $(BOOKS) |
39 | sgmldocs: xmldocs | 39 | sgmldocs: xmldocs |
40 | 40 | ||
41 | PS := $(patsubst %.xml, %.ps, $(BOOKS)) | 41 | PS := $(patsubst %.xml, %.ps, $(BOOKS)) |
@@ -95,7 +95,7 @@ define rule_docproc | |||
95 | ) > $(dir $@).$(notdir $@).cmd | 95 | ) > $(dir $@).$(notdir $@).cmd |
96 | endef | 96 | endef |
97 | 97 | ||
98 | %.xml: %.tmpl FORCE | 98 | %.xml: %.tmpl xmldoclinks FORCE |
99 | $(call if_changed_rule,docproc) | 99 | $(call if_changed_rule,docproc) |
100 | 100 | ||
101 | ### | 101 | ### |