aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstat/xentop/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/xenstat/xentop/Makefile')
-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