Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Allow "make obj" to work nicely with amd by setting
details: https://anonhg.NetBSD.org/src/rev/e61ebe196785
branches: trunk
changeset: 473587:e61ebe196785
user: kim <kim%NetBSD.org@localhost>
date: Tue Jun 08 18:28:38 1999 +0000
description:
Allow "make obj" to work nicely with amd by setting
PWD=/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 479b5e476764 -r e61ebe196785 share/mk/bsd.obj.mk
--- a/share/mk/bsd.obj.mk Tue Jun 08 12:45:47 1999 +0000
+++ b/share/mk/bsd.obj.mk Tue Jun 08 18:28:38 1999 +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.18 1999/06/08 18:28:38 kim Exp $
.if !target(__initialized_obj__)
__initialized_obj__:
@@ -27,9 +27,11 @@
.endif
.endif
+PWD?= /bin/pwd
+
obj:
@cd ${.CURDIR}; rm -f ${__objdir} > /dev/null 2>&1 || true; \
- here=`/bin/pwd`; subdir=$${here#${BSDSRCDIR}/}; \
+ here=`${PWD}`; subdir=$${here#${BSDSRCDIR}/}; \
if test $$here != $$subdir ; then \
dest=${__usrobjdir}/$$subdir${__usrobjdirpf} ; \
echo "$$here/${__objdir} -> $$dest"; \
Home |
Main Index |
Thread Index |
Old Index