From a10a8be7c362ccc068f397629b8dfa67cf8ab9e8 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 14 Mar 2012 12:48:51 -0500 Subject: [PATCH] docs: fix 'make distcheck' API doc xslt paths Since all.xml is a built file these days, and will contain paths relative to $(top_srcdir)/introspection even though it's not in that directory, it seems we need to clue xsltproc into where the other API XML files really are. --- docs/api/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/Makefile.am b/docs/api/Makefile.am index 276b4aefef..e061ec6224 100644 --- a/docs/api/Makefile.am +++ b/docs/api/Makefile.am @@ -37,7 +37,7 @@ OTHER_FILES= \ GENERATED_FILES = spec.html settings-spec.xml spec.html: $(XMLS) $(OTHER_FILES) html-build.stamp - $(XSLTPROC) $(top_srcdir)/tools/doc-generator.xsl $(top_builddir)/introspection/all.xml > $@ + $(XSLTPROC) --path "$(top_builddir)/introspection:$(top_srcdir)/introspection" $(top_srcdir)/tools/doc-generator.xsl $(top_builddir)/introspection/all.xml > $@ mkdir -p $(builddir)/html/ cp $@ $(builddir)/html/