summaryrefslogtreecommitdiff
path: root/pppdump
diff options
context:
space:
mode:
Diffstat (limited to 'pppdump')
-rw-r--r--pppdump/Makefile.linux8
1 files changed, 6 insertions, 2 deletions
diff --git a/pppdump/Makefile.linux b/pppdump/Makefile.linux
index d02fecd..e2e959a 100644
--- a/pppdump/Makefile.linux
+++ b/pppdump/Makefile.linux
@@ -1,3 +1,7 @@
+DESTDIR = @DESTDIR@
+BINDIR = $(DESTDIR)/sbin
+MANDIR = $(DESTDIR)/man/man8
+
CFLAGS= -O -I../include/net
OBJS = pppdump.o bsd-comp.o deflate.o zlib.o
@@ -12,6 +16,6 @@ clean:
rm -f pppdump $(OBJS) *~
install:
- mkdir -p $(BINDIR) $(MANDIR)/man8
+ mkdir -p $(BINDIR) $(MANDIR)
$(INSTALL) -s -c pppdump $(BINDIR)
- $(INSTALL) -c -m 444 pppdump.8 $(MANDIR)/man8
+ $(INSTALL) -c -m 444 pppdump.8 $(MANDIR)