summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.links.mk
blob: 4f8565c255f90d5d96f174bd3417a0469851c1ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $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" ;\
	${INSTALL_LINK} ${DESTDIR}$s ${DESTDIR}$t
.endfor
.for s t in ${SYMLINKS}
	@${ECHO} "$t -> $s" ;\
	${INSTALL_SYMLINK} $s ${DESTDIR}/$t
.endfor
OpenPOWER on IntegriCloud