From 6404ba3e23d89527204c50086b6c9c39ba2e5030 Mon Sep 17 00:00:00 2001 From: thorpej Date: Fri, 17 Aug 2001 15:05:50 +0000 Subject: [PATCH] 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. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e82a15b75a69..1afcec3ce019 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ beforeinstall: (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