68eae5df4b
what will go in which package, more finer grain tagging to come
32 lines
640 B
Makefile
32 lines
640 B
Makefile
# $FreeBSD$
|
|
|
|
.if !target(__<bsd.init.mk>__)
|
|
.error bsd.links.mk cannot be included directly.
|
|
.endif
|
|
|
|
afterinstall: _installlinks
|
|
.ORDER: realinstall _installlinks
|
|
_installlinks:
|
|
.if defined(LINKS) && !empty(LINKS)
|
|
@set ${LINKS}; \
|
|
while test $$# -ge 2; do \
|
|
l=${DESTDIR}$$1; \
|
|
shift; \
|
|
t=${DESTDIR}$$1; \
|
|
shift; \
|
|
${ECHO} $$t -\> $$l; \
|
|
${INSTALL_LINK} -T runtime $$l $$t; \
|
|
done; true
|
|
.endif
|
|
.if defined(SYMLINKS) && !empty(SYMLINKS)
|
|
@set ${SYMLINKS}; \
|
|
while test $$# -ge 2; do \
|
|
l=$$1; \
|
|
shift; \
|
|
t=${DESTDIR}$$1; \
|
|
shift; \
|
|
${ECHO} $$t -\> $$l; \
|
|
${INSTALL_SYMLINK} -T runtime $$l $$t; \
|
|
done; true
|
|
.endif
|