aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstore/Makefile
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-07 10:49:20 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-07 10:49:20 +0000
commit9de4f0c67def5ab75c4f5a9a4428b719e149e8b2 (patch)
treeb4cb36609da6cee29432b58dfc37c6b8dcf917be /tools/xenstore/Makefile
parentd4ac34aff9f66f57c164120ba5daf74109b35e91 (diff)
downloadxen-9de4f0c67def5ab75c4f5a9a4428b719e149e8b2.tar.gz
xen-9de4f0c67def5ab75c4f5a9a4428b719e149e8b2.tar.bz2
xen-9de4f0c67def5ab75c4f5a9a4428b719e149e8b2.zip
tools: Clean up use of 'install' command.
- convert raw "install" command to use $(INSTALL) - convert some $(INSTALL) to $(INSTALL_DATA) as appropriate - modify the specific $(INSTALL) definitions to use -p. Original patch by Ben Thomas <ben@virtualiron.com> Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/xenstore/Makefile')
-rw-r--r--tools/xenstore/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile
index 0596379aca..92268ca875 100644
--- a/tools/xenstore/Makefile
+++ b/tools/xenstore/Makefile
@@ -168,16 +168,16 @@ tarball: clean
.PHONY: install
install: all
- $(INSTALL_DIR) -p $(DESTDIR)/var/run/xenstored
- $(INSTALL_DIR) -p $(DESTDIR)/var/lib/xenstored
- $(INSTALL_DIR) -p $(DESTDIR)/usr/bin
- $(INSTALL_DIR) -p $(DESTDIR)/usr/sbin
- $(INSTALL_DIR) -p $(DESTDIR)/usr/include
+ $(INSTALL_DIR) $(DESTDIR)/var/run/xenstored
+ $(INSTALL_DIR) $(DESTDIR)/var/lib/xenstored
+ $(INSTALL_DIR) $(DESTDIR)/usr/bin
+ $(INSTALL_DIR) $(DESTDIR)/usr/sbin
+ $(INSTALL_DIR) $(DESTDIR)/usr/include
$(INSTALL_PROG) xenstored $(DESTDIR)/usr/sbin
$(INSTALL_PROG) $(CLIENTS) $(DESTDIR)/usr/bin
$(INSTALL_PROG) xenstore-control $(DESTDIR)/usr/bin
$(INSTALL_PROG) xenstore-ls $(DESTDIR)/usr/bin
- $(INSTALL_DIR) -p $(DESTDIR)/usr/$(LIBDIR)
+ $(INSTALL_DIR) $(DESTDIR)/usr/$(LIBDIR)
$(INSTALL_PROG) libxenstore.so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/$(LIBDIR)
ln -sf libxenstore.so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/$(LIBDIR)/libxenstore.so.$(MAJOR)
ln -sf libxenstore.so.$(MAJOR) $(DESTDIR)/usr/$(LIBDIR)/libxenstore.so