2002-07-02 12:16:54 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.if !target(__<bsd.init.mk>__)
|
|
|
|
.error bsd.links.mk cannot be included directly.
|
|
|
|
.endif
|
|
|
|
|
|
|
|
afterinstall: _installlinks
|
2002-07-03 12:28:03 +00:00
|
|
|
.ORDER: realinstall _installlinks
|
2002-07-02 12:16:54 +00:00
|
|
|
_installlinks:
|
2015-03-15 21:50:58 +00:00
|
|
|
.for s t in ${LINKS}
|
|
|
|
@${ECHO} "$t -> $s" ;\
|
2015-03-15 23:40:50 +00:00
|
|
|
${INSTALL_LINK} ${DESTDIR}$s ${DESTDIR}$t
|
2015-03-15 21:50:58 +00:00
|
|
|
.endfor
|
|
|
|
.for s t in ${SYMLINKS}
|
|
|
|
@${ECHO} "$t -> $s" ;\
|
2015-03-15 23:40:50 +00:00
|
|
|
${INSTALL_SYMLINK} $s ${DESTDIR}/$t
|
2015-03-15 21:50:58 +00:00
|
|
|
.endfor
|