From 62f71f6042dd2087fcb6e31db54b038e343797b5 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 18 Mar 1999 17:36:55 +0000 Subject: [PATCH] Add TMPROOT support for two phase building/installing. make all make TMPROOT=/tmp/root install will install everything under $(TMPROOT)$(prefix). Useful for building bundling packages/ports for various operating systems. --- build/top.mk | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/build/top.mk b/build/top.mk index da90135cbb..a72be16265 100644 --- a/build/top.mk +++ b/build/top.mk @@ -19,19 +19,19 @@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ - ldap_subdir = @ldap_subdir@ -bindir = @bindir@ -datadir = @datadir@/$(ldap_subdir) -includedir = @includedir@ -infodir = @infodir@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@/$(ldap_subdir) + +bindir = $(TMPROOT)@bindir@ +datadir = $(TMPROOT)@datadir@/$(ldap_subdir) +includedir = $(TMPROOT)@includedir@ +infodir = $(TMPROOT)@infodir@ +libdir = $(TMPROOT)@libdir@ +libexecdir = $(TMPROOT)@libexecdir@ +localstatedir = $(TMPROOT)@localstatedir@ +mandir = $(TMPROOT)@mandir@ +sbindir = $(TMPROOT)@sbindir@ +sharedstatedir = $(TMPROOT)@sharedstatedir@ +sysconfdir = $(TMPROOT)@sysconfdir@/$(ldap_subdir) EXEEXT = @EXEEXT@ OBJEXT = @OBJEXT@ -- 2.39.5