Move all of the directory path into the DIR part of the component and make the
NAME be only the filename. This makes it possible to use the DIR as part of the dep in the future. Approved by: bapt (mentor)
This commit is contained in:
parent
13a5c70b91
commit
123ec1b8b9
@ -71,12 +71,12 @@ STAGE_SYMLINKS_DIR.NLS= ${STAGE_OBJTOP}
|
|||||||
SYMLINKS+= ${NLSSYMLINKS}
|
SYMLINKS+= ${NLSSYMLINKS}
|
||||||
.endif
|
.endif
|
||||||
.for file in ${NLS}
|
.for file in ${NLS}
|
||||||
NLSNAME_${file:T}= ${file:T:R}/${NLSNAME}.cat
|
NLSDIR_${file:T}= ${NLSDIR}/${file:T:R}
|
||||||
|
NLSNAME_${file:T}= ${NLSNAME}.cat
|
||||||
.if defined(NLSLINKS_${file:R}) && !empty(NLSLINKS_${file:R})
|
.if defined(NLSLINKS_${file:R}) && !empty(NLSLINKS_${file:R})
|
||||||
.if !empty(NLSLINKS_${file:R}:M${file:R})
|
.if !empty(NLSLINKS_${file:R}:M${file:R})
|
||||||
.error NLSLINKS_${file:R} contains itself: ${file:R}
|
.error NLSLINKS_${file:R} contains itself: ${file:R}
|
||||||
.endif
|
.endif
|
||||||
NLSLINKS+= ${file:R}
|
|
||||||
.endif
|
.endif
|
||||||
.for dst in ${NLSLINKS_${file:R}}
|
.for dst in ${NLSLINKS_${file:R}}
|
||||||
NLSSYMLINKS+= ../${file:R}/${NLSNAME}.cat ${NLSDIR}/${dst}/${NLSNAME}.cat
|
NLSSYMLINKS+= ../${file:R}/${NLSNAME}.cat ${NLSDIR}/${dst}/${NLSNAME}.cat
|
||||||
|
Loading…
Reference in New Issue
Block a user