From e05fd1cc4715456e4cef18b71f87fdac101beb45 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 4 Mar 2011 14:38:28 -0600 Subject: [PATCH] docs: fix distcheck and ensure spec.html gets put in the right place gtk-doc removes the 'html' directory as part of the build process so we need to have spec.html generation depend on the gtk-doc html target. Also, fix up the paths to make sure the generated spec.html gets copied into the final 'html' directory. --- docs/api/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api/Makefile.am b/docs/api/Makefile.am index f94e499c62..f4067b87e9 100644 --- a/docs/api/Makefile.am +++ b/docs/api/Makefile.am @@ -36,12 +36,12 @@ OTHER_FILES= \ GENERATED_FILES = spec.html settings-spec.xml -spec.html: $(XMLS) $(OTHER_FILES) +spec.html: $(XMLS) $(OTHER_FILES) html-build.stamp $(XSLTPROC) $(top_srcdir)/tools/doc-generator.xsl $(top_srcdir)/introspection/all.xml > $@ mkdir -p $(builddir)/html/ - cp $(builddir)/spec.html $(builddir)/html/ + cp $@ $(builddir)/html/ -settings-spec.xml: generate-settings-spec $(top_builddir)/libnm-util/libnm-util.la spec.html +settings-spec.xml: generate-settings-spec $(top_builddir)/libnm-util/libnm-util.la $(builddir)/generate-settings-spec $(builddir)/$@ all: $(GENERATED_FILES)