aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstat
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/xenstat
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/xenstat')
-rw-r--r--tools/xenstat/xentop/Makefile4
1 files changed, 2 insertions, 2 deletions
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