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

[Xen-changelog] [xen-unstable] docs: Fix docs install when graphvix is not installed.



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.