Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk replace instances of ln with ${INSTALL_LINK} and ${...



details:   https://anonhg.NetBSD.org/src/rev/5865b95cf9cb
branches:  trunk
changeset: 517778:5865b95cf9cb
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Nov 19 04:46:07 2001 +0000

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

diffstat:

 share/mk/bsd.kinc.mk  |  4 ++--
 share/mk/bsd.links.mk |  6 +++---
 share/mk/bsd.man.mk   |  6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r 3187e92ebf55 -r 5865b95cf9cb share/mk/bsd.kinc.mk
--- a/share/mk/bsd.kinc.mk      Mon Nov 19 04:45:06 2001 +0000
+++ b/share/mk/bsd.kinc.mk      Mon Nov 19 04:46:07 2001 +0000
@@ -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 @@
                        fi; \
                fi; \
                echo "$$t -> $$l"; \
-               rm -rf $$t; ln -s $$l $$t; \
+               rm -rf $$t; ${INSTALL_SYMLINK} $$l $$t; \
         done; )
 .endif
 
diff -r 3187e92ebf55 -r 5865b95cf9cb share/mk/bsd.links.mk
--- a/share/mk/bsd.links.mk     Mon Nov 19 04:45:06 2001 +0000
+++ b/share/mk/bsd.links.mk     Mon Nov 19 04:46:07 2001 +0000
@@ -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 @@
                        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 @@
                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
diff -r 3187e92ebf55 -r 5865b95cf9cb share/mk/bsd.man.mk
--- a/share/mk/bsd.man.mk       Mon Nov 19 04:45:06 2001 +0000
+++ b/share/mk/bsd.man.mk       Mon Nov 19 04:46:07 2001 +0000
@@ -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 @@
                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 @@
                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



Home | Main Index | Thread Index | Old Index