]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build: improve 'make install' for VPATH builds
authorEric Blake <eblake@redhat.com>
Wed, 16 Feb 2011 21:47:39 +0000 (14:47 -0700)
committerEric Blake <eblake@redhat.com>
Thu, 17 Feb 2011 22:15:34 +0000 (15:15 -0700)
This still doesn't fix {html,devhelp}/libvirt-{libvirt-virterror}.html,
but it's progress in the right direction.

* docs/Makefile.am (%.html): Build into srcdir.

docs/Makefile.am

index b525fdc5713c04ae97e9670b19cc6dd32a2aa022..adf74eeb167847f161b41cf915bb9369690a03f1 100644 (file)
@@ -138,8 +138,8 @@ internals/%.html.tmp: internals/%.html.in subsite.xsl page.xsl sitemap.html.in
            "-//W3C//DTD XHTML 1.0 Strict//EN" > /dev/null ; then \
          echo "Validating $@" ; \
          SGML_CATALOG_FILES='$(XML_CATALOG_FILE)' \
-         $(XMLLINT) --catalogs --nonet --format --valid $< > $@ \
-         || { rm $@ && exit 1; }; \
+         $(XMLLINT) --catalogs --nonet --format --valid $< > $(srcdir)/$@ \
+         || { rm $(srcdir)/$@ && exit 1; }; \
          else echo "missing XHTML1 DTD" ; fi ; fi