diff options
author | Paul Mackerras <paulus@samba.org> | 2006-06-04 05:07:46 +0000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-06-04 05:07:46 +0000 |
commit | f59ff103bcb3096e4678625d4d0481f808fd4844 (patch) | |
tree | 244c81a365bf4309fe1fbfe7f85c1018fcf1d7fa /chat | |
parent | d929a8d4e1d3e5ff15068ea3b538598b6d448943 (diff) | |
download | ppp-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 'chat')
-rw-r--r-- | chat/Makefile.linux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chat/Makefile.linux b/chat/Makefile.linux index 1519f29..1065ac5 100644 --- a/chat/Makefile.linux +++ b/chat/Makefile.linux @@ -1,6 +1,6 @@ -# $Id: Makefile.linux,v 1.14 2006/05/22 00:16:57 paulus Exp $ +# $Id: Makefile.linux,v 1.15 2006/06/04 05:07:46 paulus Exp $ -DESTDIR = @DESTDIR@ +DESTDIR = $(INSTROOT)@DESTDIR@ BINDIR = $(DESTDIR)/sbin MANDIR = $(DESTDIR)/share/man/man8 |