From: Eric Blake Date: Wed, 16 Feb 2011 21:47:39 +0000 (-0700) Subject: build: improve 'make install' for VPATH builds X-Git-Tag: CVE-2011-1146~151 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31d094cacd3d4a699446fe808ceb2fb1168911f2;p=thirdparty%2Flibvirt.git build: improve 'make install' for VPATH builds 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. --- diff --git a/docs/Makefile.am b/docs/Makefile.am index b525fdc571..adf74eeb16 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -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