aboutsummaryrefslogtreecommitdiffstats
path: root/tools/console
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-01-22 14:35:02 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-01-22 14:35:02 +0000
commit93e3de7b940428c3c66c6340c621a3b92c14cff6 (patch)
tree3fea73c58d2bb41e430636efcde7216fa84fd12a /tools/console
parent93a029ac74a0f497b020e03d066594ab0108bb9c (diff)
downloadxen-93e3de7b940428c3c66c6340c621a3b92c14cff6.tar.gz
xen-93e3de7b940428c3c66c6340c621a3b92c14cff6.tar.bz2
xen-93e3de7b940428c3c66c6340c621a3b92c14cff6.zip
Add SBINDIR. Use it always.
Signed-off-by: Bastian Blank <waldi@debian.org>
Diffstat (limited to 'tools/console')
-rw-r--r--tools/console/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/console/Makefile b/tools/console/Makefile
index 22df982915..4ee3d0a816 100644
--- a/tools/console/Makefile
+++ b/tools/console/Makefile
@@ -2,7 +2,6 @@
XEN_ROOT=../..
include $(XEN_ROOT)/tools/Rules.mk
-DAEMON_INSTALL_DIR = /usr/sbin
CLIENT_INSTALL_DIR = $(LIBDIR)/xen/bin
CFLAGS += -Werror
@@ -30,7 +29,7 @@ xenconsole: $(patsubst %.c,%.o,$(wildcard client/*.c))
.PHONY: install
install: $(BIN)
- $(INSTALL_DIR) $(DESTDIR)/$(DAEMON_INSTALL_DIR)
- $(INSTALL_PROG) xenconsoled $(DESTDIR)/$(DAEMON_INSTALL_DIR)
+ $(INSTALL_DIR) $(DESTDIR)/$(SBINDIR)
+ $(INSTALL_PROG) xenconsoled $(DESTDIR)/$(SBINDIR)
$(INSTALL_DIR) $(DESTDIR)/$(CLIENT_INSTALL_DIR)
$(INSTALL_PROG) xenconsole $(DESTDIR)/$(CLIENT_INSTALL_DIR)