Put NLS related symlinks into their own variable, so that
when MK_STAGING_PROG is true, we can put them in the right place.
This commit is contained in:
parent
81d623fe15
commit
c8c7a91dff
@ -61,13 +61,22 @@ NLSDIR?= ${SHAREDIR}/nls
|
||||
#
|
||||
# installation rules
|
||||
#
|
||||
.if ${MK_STAGING_PROG} == "yes"
|
||||
.if !defined(_SKIP_BUILD)
|
||||
all: stage_symlinks
|
||||
.endif
|
||||
STAGE_SYMLINKS.NLS= ${NLSSYMLINKS}
|
||||
STAGE_SYMLINKS_DIR.NLS= ${STAGE_OBJTOP}
|
||||
.else
|
||||
SYMLINKS+= ${NLSSYMLINKS}
|
||||
.endif
|
||||
.for file in ${NLS}
|
||||
NLSNAME_${file:T}= ${file:T:R}/${NLSNAME}.cat
|
||||
.if defined(NLSLINKS_${file:R}) && !empty(NLSLINKS_${file:R})
|
||||
NLSLINKS+= ${file:R}
|
||||
.endif
|
||||
.for dst in ${NLSLINKS_${file:R}}
|
||||
SYMLINKS+= ../${file:R}/${NLSNAME}.cat ${NLSDIR}/${dst}/${NLSNAME}.cat
|
||||
NLSSYMLINKS+= ../${file:R}/${NLSNAME}.cat ${NLSDIR}/${dst}/${NLSNAME}.cat
|
||||
.endfor
|
||||
.endfor
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user