diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-03-07 10:49:20 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-03-07 10:49:20 +0000 |
commit | 9de4f0c67def5ab75c4f5a9a4428b719e149e8b2 (patch) | |
tree | b4cb36609da6cee29432b58dfc37c6b8dcf917be /tools/libxen/Makefile | |
parent | d4ac34aff9f66f57c164120ba5daf74109b35e91 (diff) | |
download | xen-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/Makefile | 4 |
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 |