From 93e3de7b940428c3c66c6340c621a3b92c14cff6 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 22 Jan 2008 14:35:02 +0000 Subject: Add SBINDIR. Use it always. Signed-off-by: Bastian Blank --- tools/console/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tools/console') 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) -- cgit v1.2.3