Make sure the rm' and ln' for a link are in the same shell command.

(The reason for this is obscure...)
This commit is contained in:
mycroft 2000-02-26 19:02:40 +00:00
parent 16c31080a5
commit dc75306e58
2 changed files with 5 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.kinc.mk,v 1.10 2000/02/10 18:18:01 drochner Exp $
# $NetBSD: bsd.kinc.mk,v 1.11 2000/02/26 19:02:40 mycroft Exp $
# System configuration variables:
#
@ -126,8 +126,7 @@ incinstall::
echo ".PHONY: $$t"; \
echo "$$t:"; \
echo " @echo \"$$t -> $$l\""; \
echo " @rm -rf $$t"; \
echo " @ln -s $$l $$t"; \
echo " @rm -rf $$t; ln -s $$l $$t"; \
done; \
) | ${MAKE} -f- all
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.links.mk,v 1.11 2000/02/10 18:18:02 drochner Exp $
# $NetBSD: bsd.links.mk,v 1.12 2000/02/26 19:02:40 mycroft Exp $
.PHONY: linksinstall
realinstall: linksinstall
@ -16,8 +16,7 @@ linksinstall::
echo ".PHONY: $$t"; \
echo "$$t:"; \
echo " @echo \"$$t -> $$l\""; \
echo " @rm -f $$t"; \
echo " @ln -s $$l $$t"; \
echo " @rm -f $$t; ln -s $$l $$t"; \
done; \
) | ${MAKE} -f- all
.endif
@ -34,8 +33,7 @@ linksinstall::
echo ".PHONY: $$t"; \
echo "$$t:"; \
echo " @echo \"$$t -> $$l\""; \
echo " @rm -f $$t"; \
echo " @ln $$l $$t"; \
echo " @rm -f $$t; ln $$l $$t"; \
done; \
) | ${MAKE} -f- all
.endif