freebsd-dev/share/mk/bsd.links.mk

18 lines
367 B
Makefile
Raw Normal View History

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