From: Kurt Zeilenga Date: Thu, 18 Mar 1999 17:36:55 +0000 (+0000) Subject: Add TMPROOT support for two phase building/installing. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~355 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=62f71f6042dd2087fcb6e31db54b038e343797b5;p=openldap 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. --- 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@