Skip to content

Commit a435600

Browse files
bwhackstorvalds
authored andcommitted
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>
1 parent 79872e0 commit a435600

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Documentation/DocBook/Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ PS_METHOD = $(prefer-db2x)
3535
PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs cleandocs xmldoclinks
3636

3737
BOOKS := $(addprefix $(obj)/,$(DOCBOOKS))
38-
xmldocs: $(BOOKS) xmldoclinks
38+
xmldocs: $(BOOKS)
3939
sgmldocs: xmldocs
4040

4141
PS := $(patsubst %.xml, %.ps, $(BOOKS))
@@ -95,7 +95,7 @@ define rule_docproc
9595
) > $(dir $@).$(notdir $@).cmd
9696
endef
9797

98-
%.xml: %.tmpl FORCE
98+
%.xml: %.tmpl xmldoclinks FORCE
9999
$(call if_changed_rule,docproc)
100100

101101
###

0 commit comments

Comments
 (0)