summaryrefslogtreecommitdiff
path: root/pppstats
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-06-04 05:07:46 +0000
committerPaul Mackerras <paulus@samba.org>2006-06-04 05:07:46 +0000
commitf59ff103bcb3096e4678625d4d0481f808fd4844 (patch)
tree244c81a365bf4309fe1fbfe7f85c1018fcf1d7fa /pppstats
parentd929a8d4e1d3e5ff15068ea3b538598b6d448943 (diff)
downloadppp-f59ff103bcb3096e4678625d4d0481f808fd4844.tar.gz
Add $(INSTDIR) to installation paths in Linux makefiles.
Patch from Robert Vogelgesang. This patch re-introduces the possibility for package maintainers to install into a different filesystem tree. This is done by adding $(INSTROOT) at various places; the package maintainers can then issue a make install INSTROOT=/some/where/else when they package pppd for their distribution. In previous versions of the ppp package this was possible using the variable DESTDIR, but this variable is now used for a different purpose and cannot be changed via additional parameters of the make command.
Diffstat (limited to 'pppstats')
-rw-r--r--pppstats/Makefile.linux4
1 files changed, 2 insertions, 2 deletions
diff --git a/pppstats/Makefile.linux b/pppstats/Makefile.linux
index 6b8fb47..cca6f0f 100644
--- a/pppstats/Makefile.linux
+++ b/pppstats/Makefile.linux
@@ -1,8 +1,8 @@
#
# pppstats makefile
-# $Id: Makefile.linux,v 1.8 2004/10/31 22:09:03 paulus Exp $
+# $Id: Makefile.linux,v 1.9 2006/06/04 05:07:46 paulus Exp $
#
-DESTDIR = @DESTDIR@
+DESTDIR = $(INSTROOT)@DESTDIR@
BINDIR = $(DESTDIR)/sbin
MANDIR = $(DESTDIR)/share/man/man8