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.
This commit is contained in:
@@ -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/
|
||||
|
||||
|
Reference in New Issue
Block a user