Source-Changes-HG archive

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

[src/trunk]: src/distrib/miniroot Test DESTDIR and RELEASEDIR for non-emptyne...



details:   https://anonhg.NetBSD.org/src/rev/5590879f307f
branches:  trunk
changeset: 520765:5590879f307f
user:      pk <pk%NetBSD.org@localhost>
date:      Tue Jan 15 17:45:36 2002 +0000

description:
Test DESTDIR and RELEASEDIR for non-emptyness as well as existence, sigh..

diffstat:

 distrib/miniroot/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 98fd2a4336b8 -r 5590879f307f distrib/miniroot/Makefile
--- a/distrib/miniroot/Makefile Tue Jan 15 17:41:41 2002 +0000
+++ b/distrib/miniroot/Makefile Tue Jan 15 17:45:36 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.44 2002/01/15 17:41:41 pk Exp $
+#      $NetBSD: Makefile,v 1.45 2002/01/15 17:45:36 pk Exp $
 
 .include "../../Makefile.inc"
 .include <bsd.own.mk>
@@ -37,7 +37,7 @@
 CRUNCHGEN?=    crunchgen
 MTREE?=                mtree
 
-.ifndef DESTDIR
+.if !defined(DESTDIR) || ${DESTDIR} == ""
 all:
        @echo setenv DESTDIR before making a miniroot!
        @false
@@ -76,7 +76,7 @@
 ${CBIN}: ${CBIN}.mk ${CBIN}.c
        ${MAKE} -f ${CBIN}.mk all
 
-.ifndef RELEASEDIR
+.if !defined(RELEASEDIR) || ${RELEASEDIR} == ""
 release:
        @echo setenv RELEASEDIR first
        @false



Home | Main Index | Thread Index | Old Index