aboutsummaryrefslogtreecommitdiffstats
path: root/tools/console
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-01-26 14:42:03 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-01-26 14:42:03 +0000
commit73de243b9286676c260c8819f62589522e659b9d (patch)
tree6fe3c4a346f762aff80fd776d6183ce53cc80174 /tools/console
parent41a5d4c1fe28d5c5ca2e36e83828aff535fc3364 (diff)
downloadxen-73de243b9286676c260c8819f62589522e659b9d.tar.gz
xen-73de243b9286676c260c8819f62589522e659b9d.tar.bz2
xen-73de243b9286676c260c8819f62589522e659b9d.zip
Add PRIVATE_BINDIR. Use it.
Signed-off-by: Bastian Blank <waldi@debian.org>
Diffstat (limited to 'tools/console')
-rw-r--r--tools/console/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/console/Makefile b/tools/console/Makefile
index 85c2ad8574..1e60bd2ee0 100644
--- a/tools/console/Makefile
+++ b/tools/console/Makefile
@@ -2,8 +2,6 @@
XEN_ROOT=../..
include $(XEN_ROOT)/tools/Rules.mk
-CLIENT_INSTALL_DIR = $(LIBDIR)/xen/bin
-
CFLAGS += -Werror
CFLAGS += -I $(XEN_LIBXC)
@@ -32,5 +30,5 @@ xenconsole: $(patsubst %.c,%.o,$(wildcard client/*.c))
install: $(BIN)
$(INSTALL_DIR) $(DESTDIR)/$(SBINDIR)
$(INSTALL_PROG) xenconsoled $(DESTDIR)/$(SBINDIR)
- $(INSTALL_DIR) $(DESTDIR)/$(CLIENT_INSTALL_DIR)
- $(INSTALL_PROG) xenconsole $(DESTDIR)/$(CLIENT_INSTALL_DIR)
+ $(INSTALL_DIR) $(DESTDIR)$(PRIVATE_BINDIR)
+ $(INSTALL_PROG) xenconsole $(DESTDIR)$(PRIVATE_BINDIR)