From 2ecd52a563a8060fac5ad3ad9f417b4ee01c7df7 Mon Sep 17 00:00:00 2001 From: pdw <> Date: Mon, 15 Apr 2002 22:38:13 +0000 Subject: [PATCH] Fixed installation problem. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f9f6e65..469acf3 100644 --- a/Makefile +++ b/Makefile @@ -16,8 +16,8 @@ CFLAGS += -I/usr/include/pcap #LDFLAGS += -L/usr/local/lib # PREFIX specifies the base directory for the installation. -#PREFIX = /usr/local -PREFIX = /software +PREFIX = /usr/local +#PREFIX = /software # BINDIR is where the binary lives. No leading /. BINDIR = sbin @@ -43,8 +43,8 @@ iftop: $(OBJS) Makefile $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS) install: iftop - install -D iftop $(PREFIX)/$(BINDIR) - install -D iftop.8 $(PREFIX)/$(MANDIR)/man8 + install -D iftop $(PREFIX)/$(BINDIR)/iftop + install -D iftop.8 $(PREFIX)/$(MANDIR)/man8/iftop.8 uninstall: rm -f $(PREFIX)/$(BINDIR)/iftop $(PREFIX)/$(MANDIR)/man8/iftop.8