Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ben Hutchings and committed by
Linus Torvalds
a435600e 79872e07

+2 -2
+2 -2
Documentation/DocBook/Makefile
··· 35 35 PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs cleandocs xmldoclinks 36 36 37 37 BOOKS := $(addprefix $(obj)/,$(DOCBOOKS)) 38 - xmldocs: $(BOOKS) xmldoclinks 38 + xmldocs: $(BOOKS) 39 39 sgmldocs: xmldocs 40 40 41 41 PS := $(patsubst %.xml, %.ps, $(BOOKS)) ··· 95 95 ) > $(dir $@).$(notdir $@).cmd 96 96 endef 97 97 98 - %.xml: %.tmpl FORCE 98 + %.xml: %.tmpl xmldoclinks FORCE 99 99 $(call if_changed_rule,docproc) 100 100 101 101 ###