1 # $FreeBSD: src/share/mk/bsd.links.mk,v 1.2.2.2 2002/07/17 19:08:23 ru Exp $
3 .if
!target
(__
<bsd.init.mk
>__
)
4 .error bsd.links.mk cannot be included directly.
7 afterinstall
: _installlinks
8 .ORDER
: realinstall _installlinks
10 .if defined
(LINKS
) && !empty
(LINKS
)
12 while
test $$# -ge 2; do \
17 ${ECHO} $$t -\
> $$l; \
21 .if defined
(SYMLINKS
) && !empty
(SYMLINKS
)
23 while
test $$# -ge 2; do \
28 ${ECHO} $$t -\
> $$l; \
29 if
test -d
$$t -a
! -L
$$t; then \
30 ${ECHO} "warning: symlinking over dir $$t. Not intended?"; \