Source-Changes-HG archive

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

[src/trunk]: src Make sure DESTDIR is always set when calling the distrib-dir...



details:   https://anonhg.NetBSD.org/src/rev/61cd7760b5ae
branches:  trunk
changeset: 513919:61cd7760b5ae
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Aug 17 15:05:50 2001 +0000

description:
Make sure DESTDIR is always set when calling the distrib-dirs target.
In the new build world order, DESTDIR is set to "" (in Makefile.tools)
if not already set, to ensure correct include/library handling.  This
caused the top-level to not set DESTDIR=/, which confused distrib-dirs,
since it doesn't include Makefile.tools, and thus didn't see the same
DESTDIR that the top-level did.

diffstat:

 Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 537b464ae8f2 -r 61cd7760b5ae Makefile
--- a/Makefile  Fri Aug 17 11:12:34 2001 +0000
+++ b/Makefile  Fri Aug 17 15:05:50 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.127 2001/08/14 14:04:35 tv Exp $
+#      $NetBSD: Makefile,v 1.128 2001/08/17 15:05:50 thorpej Exp $
 
 # This is the top-level makefile for building NetBSD. For an outline of
 # how to build a snapshot or release, as well as other release engineering
@@ -126,7 +126,7 @@
        (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)
 .endif
 .else
-       (cd ${.CURDIR}/etc && ${MAKE} distrib-dirs)
+       (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=${DESTDIR} distrib-dirs)
 .endif
 .endif
 



Home | Main Index | Thread Index | Old Index