aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxen/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/libxen/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/libxen/Makefile')
-rw-r--r--tools/libxen/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxen/Makefile b/tools/libxen/Makefile
index e2eeda74d8..58db515a72 100644
--- a/tools/libxen/Makefile
+++ b/tools/libxen/Makefile
@@ -57,8 +57,8 @@ test/test_hvm_bindings: test/test_hvm_bindings.o libxenapi.so
.PHONY: install
install: all
- $(INSTALL_DIR) -p $(DESTDIR)/usr/include/xen/api
- $(INSTALL_DIR) -p $(DESTDIR)/usr/$(LIBDIR)
+ $(INSTALL_DIR) $(DESTDIR)/usr/include/xen/api
+ $(INSTALL_DIR) $(DESTDIR)/usr/$(LIBDIR)
$(INSTALL_PROG) libxenapi.so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/$(LIBDIR)
ln -sf libxenapi.so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/$(LIBDIR)/libxenapi.so.$(MAJOR)
ln -sf libxenapi.so.$(MAJOR) $(DESTDIR)/usr/$(LIBDIR)/libxenapi.so