3 .if !target(__<bsd.init.mk>__)
4 .error bsd.links.mk cannot be included directly.
8 .if !defined(TAGS) || ! ${TAGS:Mpackage=*}
9 TAGS+= package=${PACKAGE}
11 TAG_ARGS= -T ${TAGS:[*]:S/ /,/g}
14 afterinstall: _installlinks
15 .ORDER: realinstall _installlinks
18 ${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}${s} ${DESTDIR}${t}
20 .for s t in ${SYMLINKS}
21 ${INSTALL_SYMLINK} ${TAG_ARGS} ${s} ${DESTDIR}${t}