[libvirt] [PATCH] build: avoid non-srcdir installation failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 28193acd8f1cab9b91cde77afef68781e5c740b2 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@xxxxxxxxxx>
Date: Wed, 24 Feb 2010 14:01:58 +0100
Subject: [PATCH] build: avoid non-srcdir installation failure

* docs/Makefile.am (html/index.html): Insert missing $(srcdir)/
on argument to $(XSLTPROC).  This would make "make distcheck"
fail when run from a non-srcdir build.
Reported by Amit Shah
---
 docs/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/docs/Makefile.am b/docs/Makefile.am
index 4df5154..cce7a48 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -115,7 +115,7 @@ ChangeLog.html.in: ChangeLog.xml ChangeLog.xsl
 html/index.html: libvirt-api.xml newapi.xsl page.xsl sitemap.html.in
 	-@(if [ -x $(XSLTPROC) ] ; then \
 	  echo "Rebuilding the HTML pages from the XML API" ; \
-	  $(XSLTPROC) --nonet $(srcdir)/newapi.xsl libvirt-api.xml ; fi )
+	  $(XSLTPROC) --nonet $(srcdir)/newapi.xsl $(srcdir)/libvirt-api.xml; fi)
 	-@(if [ -x $(XMLLINT) -a -x $(XMLCATALOG) ] ; then \
 	  if $(XMLCATALOG) /etc/xml/catalog "-//W3C//DTD XHTML 1.0 Strict//EN" > /dev/null ; then \
 	  echo "Validating the resulting XHTML pages" ; \
--
1.7.0.367.g566c3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]