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 /pppdump | |
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 'pppdump')
-rw-r--r-- | pppdump/Makefile.linux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pppdump/Makefile.linux b/pppdump/Makefile.linux index 197e897..ac028f6 100644 --- a/pppdump/Makefile.linux +++ b/pppdump/Makefile.linux @@ -1,4 +1,4 @@ -DESTDIR = @DESTDIR@ +DESTDIR = $(INSTROOT)@DESTDIR@ BINDIR = $(DESTDIR)/sbin MANDIR = $(DESTDIR)/share/man/man8 |