replace instances of ln with ${INSTALL_LINK} and ${INSTALL_SYMLINK}

This commit is contained in:
perry 2001-11-19 04:46:07 +00:00
parent 5fdc9f9a85
commit 550b1df8d6
3 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.kinc.mk,v 1.19 2001/11/02 05:21:50 tv Exp $
# $NetBSD: bsd.kinc.mk,v 1.20 2001/11/19 04:46:07 perry Exp $
# System configuration variables:
#
@ -103,7 +103,7 @@ incinstall::
fi; \
fi; \
echo "$$t -> $$l"; \
rm -rf $$t; ln -s $$l $$t; \
rm -rf $$t; ${INSTALL_SYMLINK} $$l $$t; \
done; )
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.links.mk,v 1.15 2001/11/02 05:21:51 tv Exp $
# $NetBSD: bsd.links.mk,v 1.16 2001/11/19 04:46:07 perry Exp $
##### Basic targets
.PHONY: linksinstall
@ -22,7 +22,7 @@ linksinstall::
fi; \
fi; \
echo "$$t -> $$l"; \
rm -rf $$t; ln -s $$l $$t; \
rm -rf $$t; ${INSTALL_SYMLINK} $$l $$t; \
done; )
.endif
.if !empty(LINKS)
@ -35,7 +35,7 @@ linksinstall::
echo ".PHONY: $$t"; \
echo "$$t:"; \
echo " @echo \"$$t -> $$l\""; \
echo " @rm -f $$t; ln $$l $$t"; \
echo " @rm -f $$t; ${INSTALL_LINK} $$l $$t"; \
done; \
) | ${MAKE} -f- all
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.man.mk,v 1.67 2001/11/17 20:38:45 thorpej Exp $
# $NetBSD: bsd.man.mk,v 1.68 2001/11/19 04:46:07 perry Exp $
# @(#)bsd.man.mk 8.1 (Berkeley) 6/8/93
.include <bsd.init.mk>
@ -88,7 +88,7 @@ manlinks: manpages # symlink install
t=$${dir}${MANSUBDIR}/$${name}${MANSUFFIX}; \
if test $$l -nt $$t -o ! -f $$t; then \
echo $$t -\> $$l; \
ln -f $$l $$t; \
${INSTALL_LINK} $$l $$t; \
fi; \
done
.endif
@ -135,7 +135,7 @@ catlinks: catpages # symlink install
t=$${dir}${MANSUBDIR}/$${name%.*}.0${MANSUFFIX}; \
if test $$l -nt $$t -o ! -f $$t; then \
echo $$t -\> $$l; \
ln -f $$l $$t; \
${INSTALL_LINK} $$l $$t; \
fi; \
done
.endif