Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc Don't run rules unless DESTDIR is set *and* contains a v...
details: https://anonhg.NetBSD.org/src/rev/223c85fa7480
branches: trunk
changeset: 516822:223c85fa7480
user: jmc <jmc%NetBSD.org@localhost>
date: Wed Oct 31 02:58:58 2001 +0000
description:
Don't run rules unless DESTDIR is set *and* contains a value. Fixes PR 14410
diffstat:
etc/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 1fe38d9ebfd4 -r 223c85fa7480 etc/Makefile
--- a/etc/Makefile Wed Oct 31 02:10:35 2001 +0000
+++ b/etc/Makefile Wed Oct 31 02:58:58 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.189 2001/10/29 22:18:28 perry Exp $
+# $NetBSD: Makefile,v 1.190 2001/10/31 02:58:58 jmc Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@@ -141,7 +141,7 @@
obj:
mkdir -p ${KERNOBJDIR}
-.ifndef DESTDIR
+.if !defined(DESTDIR) || ${DESTDIR} == ""
__warndestdir: .USE
@echo setenv DESTDIR before doing that!
@false
Home |
Main Index |
Thread Index |
Old Index