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

[Xen-changelog] [xen-unstable] hoplugpath.sh: fix Makefile dependency.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1248336055 -3600
# Node ID c271306ddf74184ce5bdcb0076cc42e395a69b7b
# Parent  562ef30ea804aeabcd0b8eddf5148aef7abb6fdd
hoplugpath.sh: fix Makefile dependency.

In tools/hotplug/common/Makefile, install-scripts depends on genpath.
So add its dependency. Otherwise parallel build sometimes fails as
follows.

genpath and install-scripts command are being run simultaneously.
So When install-scripts tries to install it, it can be under creation.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 tools/hotplug/common/Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 562ef30ea804 -r c271306ddf74 tools/hotplug/common/Makefile
--- a/tools/hotplug/common/Makefile     Thu Jul 23 09:00:21 2009 +0100
+++ b/tools/hotplug/common/Makefile     Thu Jul 23 09:00:55 2009 +0100
@@ -22,7 +22,7 @@ install: all install-scripts
 install: all install-scripts
 
 .PHONY: install-scripts
-install-scripts:
+install-scripts: build
        [ -d $(DESTDIR)$(XEN_SCRIPT_DIR) ] || \
                $(INSTALL_DIR) $(DESTDIR)$(XEN_SCRIPT_DIR)
        set -e; for i in $(XEN_SCRIPTS); \

_______________________________________________
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®.