From f59ff103bcb3096e4678625d4d0481f808fd4844 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Sun, 4 Jun 2006 05:07:46 +0000 Subject: 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. --- pppdump/Makefile.linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pppdump') 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 -- cgit v1.2.1