mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
229d577fe8
This excess / was introduced in r280129, and fixed in r295230, but got re-introduced while merging another branch in r298107. Approved by: gjb Differential Revision: https://reviews.freebsd.org/D11995
25 lines
557 B
Makefile
25 lines
557 B
Makefile
# $FreeBSD$
|
|
|
|
.if !target(__<bsd.init.mk>__)
|
|
.error bsd.links.mk cannot be included directly.
|
|
.endif
|
|
|
|
.if defined(NO_ROOT)
|
|
.if !defined(TAGS) || ! ${TAGS:Mpackage=*}
|
|
TAGS+= package=${PACKAGE}
|
|
.endif
|
|
TAG_ARGS= -T ${TAGS:[*]:S/ /,/g}
|
|
.endif
|
|
|
|
afterinstall: _installlinks
|
|
.ORDER: realinstall _installlinks
|
|
_installlinks:
|
|
.for s t in ${LINKS}
|
|
@${ECHO} "${t} -> ${s}" ;\
|
|
${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}${s} ${DESTDIR}${t}
|
|
.endfor
|
|
.for s t in ${SYMLINKS}
|
|
@${ECHO} "${t} -> ${s}" ;\
|
|
${INSTALL_SYMLINK} ${TAG_ARGS} ${s} ${DESTDIR}${t}
|
|
.endfor
|