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/xenstat/xentop/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/xenstat') diff --git a/tools/xenstat/xentop/Makefile b/tools/xenstat/xentop/Makefile index 1f8b2da380..479cee76e7 100644 --- a/tools/xenstat/xentop/Makefile +++ b/tools/xenstat/xentop/Makefile @@ -21,7 +21,6 @@ else prefix=/usr mandir=$(prefix)/share/man man1dir=$(mandir)/man1 -sbindir=$(prefix)/sbin CFLAGS += -DGCC_PRINTF -Wall -Werror -I$(XEN_LIBXENSTAT) LDFLAGS += -L$(XEN_LIBXENSTAT) @@ -33,7 +32,8 @@ all: xentop .PHONY: install install: xentop xentop.1 - $(INSTALL_PROG) xentop $(DESTDIR)$(sbindir)/xentop + $(INSTALL_DIR) $(DESTDIR)$(SBINDIR) + $(INSTALL_PROG) xentop $(DESTDIR)$(SBINDIR)/xentop $(INSTALL_DIR) $(DESTDIR)$(man1dir) $(INSTALL_DATA) xentop.1 $(DESTDIR)$(man1dir)/xentop.1 -- cgit v1.2.3