aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstore
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-01-22 14:31:10 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-01-22 14:31:10 +0000
commit83f34fdcdd26c3dcc793c571e7b75c705bd92e7a (patch)
tree0011ce0392aa330eddd62d9e64da3a0e3eb46fd2 /tools/xenstore
parent2faf0fc95c466a6e0db7539ea2dcd379db30c0d8 (diff)
downloadxen-83f34fdcdd26c3dcc793c571e7b75c705bd92e7a.tar.gz
xen-83f34fdcdd26c3dcc793c571e7b75c705bd92e7a.tar.bz2
xen-83f34fdcdd26c3dcc793c571e7b75c705bd92e7a.zip
Add BINDIR. Use it.
Signed-off-by: Bastian Blank <waldi@debian.org>
Diffstat (limited to 'tools/xenstore')
-rw-r--r--tools/xenstore/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile
index 2652b1e3ec..ab8cd1e8fc 100644
--- a/tools/xenstore/Makefile
+++ b/tools/xenstore/Makefile
@@ -81,13 +81,13 @@ tarball: clean
install: all
$(INSTALL_DIR) $(DESTDIR)/var/run/xenstored
$(INSTALL_DIR) $(DESTDIR)/var/lib/xenstored
- $(INSTALL_DIR) $(DESTDIR)/usr/bin
+ $(INSTALL_DIR) $(DESTDIR)$(BINDIR)
$(INSTALL_DIR) $(DESTDIR)/usr/sbin
$(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)
$(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_PROG) $(CLIENTS) $(DESTDIR)$(BINDIR)
+ $(INSTALL_PROG) xenstore-control $(DESTDIR)$(BINDIR)
+ $(INSTALL_PROG) xenstore-ls $(DESTDIR)$(BINDIR)
$(INSTALL_DIR) $(DESTDIR)$(LIBDIR)
$(INSTALL_PROG) libxenstore.so.$(MAJOR).$(MINOR) $(DESTDIR)$(LIBDIR)
ln -sf libxenstore.so.$(MAJOR).$(MINOR) $(DESTDIR)$(LIBDIR)/libxenstore.so.$(MAJOR)