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