summaryrefslogtreecommitdiff
path: root/pppdump
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2004-10-29 00:12:27 +0000
committerPaul Mackerras <paulus@samba.org>2004-10-29 00:12:27 +0000
commit93707a531320fbf398fdb5ffa69a86af092c798c (patch)
treeaf0956e848059d7716ce1ef358b932fa7af1c580 /pppdump
parent3d6b2e94e31ea1f49b81a4d1d4c2289d4058b26a (diff)
downloadppp-93707a531320fbf398fdb5ffa69a86af092c798c.tar.gz
Add --prefix and --sysconfdir options to configure, and put
@DESTDIR@ and @SYSCONF@ tags in various Makefile.linux files. These tags get expanded by configure.
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)