[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] ia64: fix make install under tools/debugger/xenitp
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |