freebsd-dev/share/mk/bsd.links.mk
Bryan Drewery d341613006 Stop hiding link install commands.
This is no longer needed now that a .for loop is used rather
than inline shell script.

Sponsored by:	EMC / Isilon Storage Division
2016-02-04 01:08:42 +00:00

16 lines
319 B
Makefile

# $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