mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-09 00:14:25 -05:00
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.
This commit is contained in:
parent
52884a2caa
commit
62f71f6042
1 changed files with 12 additions and 12 deletions
24
build/top.mk
24
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@
|
||||
|
|
|
|||
Loading…
Reference in a new issue