DIRDEPS_BUILD: export DESTDIR for STAGING.
An example of where this is needed is in share/examples which for 'etc-examples' runs 'make -C SRCTOP/etc etc-examples' which installs to the default DESTDIR otherwise. Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
fa3afecf97
commit
4d7ae5ef71
@ -197,6 +197,7 @@ staging stage_libs stage_files stage_as stage_links stage_symlinks:
|
||||
.else
|
||||
# allow targets like beforeinstall to be leveraged
|
||||
DESTDIR= ${STAGE_OBJTOP}
|
||||
.export DESTDIR
|
||||
|
||||
.if target(beforeinstall)
|
||||
.if !empty(_LIBS) || (${MK_STAGING_PROG} != "no" && !defined(INTERNALPROG))
|
||||
|
Loading…
Reference in New Issue
Block a user