Source-Changes-HG archive

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

[src/netbsd-1-4]: src/share/mk Pull up revisions 1.18-1.20 (requested by kim):



details:   https://anonhg.NetBSD.org/src/rev/23bda7756fb1
branches:  netbsd-1-4
changeset: 469992:23bda7756fb1
user:      he <he%NetBSD.org@localhost>
date:      Sat Jan 08 18:23:49 2000 +0000

description:
Pull up revisions 1.18-1.20 (requested by kim):
  Allow "make obj" to work nicely with amd by setting PAWD=/usr/bin/pawd
  in /etc/mk.conf and using the amd mount point path for BSDSRCDIR.

diffstat:

 share/mk/bsd.obj.mk |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r cb06dfe27cf6 -r 23bda7756fb1 share/mk/bsd.obj.mk
--- a/share/mk/bsd.obj.mk       Sat Jan 08 18:20:02 2000 +0000
+++ b/share/mk/bsd.obj.mk       Sat Jan 08 18:23:49 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.obj.mk,v 1.17 1999/02/12 04:13:26 lukem Exp $
+#      $NetBSD: bsd.obj.mk,v 1.17.2.1 2000/01/08 18:23:49 he Exp $
 
 .if !target(__initialized_obj__)
 __initialized_obj__:
@@ -27,9 +27,11 @@
 .endif
 .endif
 
+PAWD?=         /bin/pwd
+
 obj:
        @cd ${.CURDIR}; rm -f ${__objdir} > /dev/null 2>&1 || true; \
-       here=`/bin/pwd`; subdir=$${here#${BSDSRCDIR}/}; \
+       here=`${PAWD}`; subdir=$${here#${BSDSRCDIR}/}; \
        if test $$here != $$subdir ; then \
                dest=${__usrobjdir}/$$subdir${__usrobjdirpf} ; \
                echo "$$here/${__objdir} -> $$dest"; \



Home | Main Index | Thread Index | Old Index