Patchwork [1/1,Upstream] docbook: need xmldoclinks for all doc types

login
register
mail settings
Submitter Andy Whitcroft
Date March 4, 2010, 1:26 p.m.
Message ID <1267709215-30498-2-git-send-email-apw@canonical.com>
Download mbox | patch
Permalink /patch/46906/
State Accepted
Delegated to: Andy Whitcroft
Headers show

Comments

Andy Whitcroft - March 4, 2010, 1:26 p.m.
We need the xmldoclinks built for any document types built from the
XML sources.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
---
 Documentation/DocBook/Makefile |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

Patch

diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
index 50075df..f7fa1a9 100644
--- a/Documentation/DocBook/Makefile
+++ b/Documentation/DocBook/Makefile
@@ -35,17 +35,17 @@  PS_METHOD	= $(prefer-db2x)
 PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs cleandocs xmldoclinks
 
 BOOKS := $(addprefix $(obj)/,$(DOCBOOKS))
-xmldocs: $(BOOKS) xmldoclinks
+xmldocs: xmldoclinks $(BOOKS)
 sgmldocs: xmldocs
 
 PS := $(patsubst %.xml, %.ps, $(BOOKS))
-psdocs: $(PS)
+psdocs: xmldoclinks $(PS)
 
 PDF := $(patsubst %.xml, %.pdf, $(BOOKS))
-pdfdocs: $(PDF)
+pdfdocs: xmldoclinks $(PDF)
 
 HTML := $(sort $(patsubst %.xml, %.html, $(BOOKS)))
-htmldocs: $(HTML)
+htmldocs: xmldoclinks $(HTML)
 	$(call build_main_index)
 	$(call build_images)