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] ia64: fix make install under tools/debugg

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] ia64: fix make install under tools/debugger/xenitp
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 25 Sep 2008 20:20:09 -0700
Delivery-date: Thu, 25 Sep 2008 20:19:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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.fraser@xxxxxxxxxx>
# Date 1222247947 -3600
# Node ID 981e4d7eb8a81b8988d60866afac8dae0a4d11f4
# Parent  2842dbc5679c168190a1401e0b39ada8d06f089a
ia64: fix make install under tools/debugger/xenitp

This patch fixes the following error with make install under
the directory, tools/debugger/xenitp by checking whether
the variable is length zero string.

> # make install
> ../../../tools/cross-install -d -m0755 -p //usr/bin
> [ -z " xenitp" ] || ../../../tools/cross-install -d -m0755 -p
> //usr/lib/xen/bin
> ../../../tools/cross-install -d -m0755 -p //usr/share/man/man1
> ../../../tools/cross-install -d -m0755 -p //usr/share/man/man8
> ../../../tools/cross-install -m0755 -p   //usr/bin
> install: too few arguments
> Try `install --help' for more information.
> make: *** [install] Error 1

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 tools/debugger/xenitp/Makefile |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff -r 2842dbc5679c -r 981e4d7eb8a8 tools/debugger/xenitp/Makefile
--- a/tools/debugger/xenitp/Makefile    Wed Sep 24 10:18:20 2008 +0100
+++ b/tools/debugger/xenitp/Makefile    Wed Sep 24 10:19:07 2008 +0100
@@ -30,10 +30,16 @@ install: build
        [ -z "$(LIBBIN)" ] || $(INSTALL_DIR) $(DESTDIR)$(PRIVATE_BINDIR)
        $(INSTALL_DIR) $(DESTDIR)$(MAN1DIR)
        $(INSTALL_DIR) $(DESTDIR)$(MAN8DIR)
-       $(INSTALL_PROG) $(BIN) $(SCRIPTS) $(DESTDIR)$(BINDIR)
+       if [ "x$(SCRIPTS)" != "x" ]; then \
+               $(INSTALL_PROG) $(BIN) $(SCRIPTS) $(DESTDIR)$(BINDIR); \
+       fi
        [ -z "$(LIBBIN)" ] || $(INSTALL_PROG) $(LIBBIN) 
$(DESTDIR)$(PRIVATE_BINDIR)
-       $(INSTALL_DATA) $(MAN1) $(DESTDIR)$(MAN1DIR)
-       $(INSTALL_DATA) $(MAN8) $(DESTDIR)$(MAN8DIR)
+       if [ "x$(MAN1)" != "x" ]; then \
+               $(INSTALL_DATA) $(MAN1) $(DESTDIR)$(MAN1DIR); \
+       fi
+       if [ "x$(MAN1)" != "x" ]; then \
+               $(INSTALL_DATA) $(MAN8) $(DESTDIR)$(MAN8DIR); \
+       fi
 
 .PHONY: clean
 clean:

_______________________________________________
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] ia64: fix make install under tools/debugger/xenitp, Xen patchbot-unstable <=