WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] docs: Fix docs install when graphvix is n

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] docs: Fix docs install when graphvix is not installed.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 18 Jun 2007 06:50:43 -0700
Delivery-date: Mon, 18 Jun 2007 06:49:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1182165096 -3600
# Node ID 952004c3d8221f224286cb852b72150df096e6eb
# Parent  2811e6e027a0d582c64330186551a360fa2ab027
docs: Fix docs install when graphvix is not installed.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 docs/xen-api/Makefile |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff -r 2811e6e027a0 -r 952004c3d822 docs/xen-api/Makefile
--- a/docs/xen-api/Makefile     Sat Jun 16 11:18:44 2007 +0100
+++ b/docs/xen-api/Makefile     Mon Jun 18 12:11:36 2007 +0100
@@ -19,9 +19,8 @@ install:
        $(INSTALL_DIR) $(DESTDIR)$(pkgdocdir)/ps
        $(INSTALL_DIR) $(DESTDIR)$(pkgdocdir)/pdf
 
-       cp xenapi.ps $(DESTDIR)$(pkgdocdir)/ps
-       cp xenapi.pdf $(DESTDIR)$(pkgdocdir)/pdf
-
+       [ -e xenapi.ps ] && cp xenapi.ps $(DESTDIR)$(pkgdocdir)/ps || true
+       [ -e xenapi.pdf ] && cp xenapi.pdf $(DESTDIR)$(pkgdocdir)/pdf || true
 
 xenapi.dvi: $(TEX) $(EPS) $(EPSDOT)
        $(LATEX) xenapi.tex

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] docs: Fix docs install when graphvix is not installed., Xen patchbot-unstable <=