aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstat
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-01-22 14:35:17 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-01-22 14:35:17 +0000
commit2b2eda45a3307acd9ea2af109e6b837ffb17aa11 (patch)
tree7956ac46dc38327727110d34a1a75b2b8e5d35ac /tools/xenstat
parent93e3de7b940428c3c66c6340c621a3b92c14cff6 (diff)
downloadxen-2b2eda45a3307acd9ea2af109e6b837ffb17aa11.tar.gz
xen-2b2eda45a3307acd9ea2af109e6b837ffb17aa11.tar.bz2
xen-2b2eda45a3307acd9ea2af109e6b837ffb17aa11.zip
Add MANDIR, MAN1DIR and MAN8DIR. Use it.
Signed-off-by: Bastian Blank <waldi@debian.org>
Diffstat (limited to 'tools/xenstat')
-rw-r--r--tools/xenstat/xentop/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/tools/xenstat/xentop/Makefile b/tools/xenstat/xentop/Makefile
index 479cee76e7..4b862a4ec5 100644
--- a/tools/xenstat/xentop/Makefile
+++ b/tools/xenstat/xentop/Makefile
@@ -18,10 +18,6 @@ ifneq ($(XENSTAT_XENTOP),y)
all install xentop:
else
-prefix=/usr
-mandir=$(prefix)/share/man
-man1dir=$(mandir)/man1
-
CFLAGS += -DGCC_PRINTF -Wall -Werror -I$(XEN_LIBXENSTAT)
LDFLAGS += -L$(XEN_LIBXENSTAT)
LDLIBS += -lxenstat $(CURSES_LIBS) $(SOCKET_LIBS)
@@ -34,8 +30,8 @@ all: xentop
install: xentop xentop.1
$(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
$(INSTALL_PROG) xentop $(DESTDIR)$(SBINDIR)/xentop
- $(INSTALL_DIR) $(DESTDIR)$(man1dir)
- $(INSTALL_DATA) xentop.1 $(DESTDIR)$(man1dir)/xentop.1
+ $(INSTALL_DIR) $(DESTDIR)$(MAN1DIR)
+ $(INSTALL_DATA) xentop.1 $(DESTDIR)$(MAN1DIR)/xentop.1
endif