From 2b2eda45a3307acd9ea2af109e6b837ffb17aa11 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 22 Jan 2008 14:35:17 +0000 Subject: Add MANDIR, MAN1DIR and MAN8DIR. Use it. Signed-off-by: Bastian Blank --- tools/xenstat/xentop/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'tools/xenstat') 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 -- cgit v1.2.3