From 31d094cacd3d4a699446fe808ceb2fb1168911f2 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 16 Feb 2011 14:47:39 -0700 Subject: [PATCH] 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. --- docs/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.2