Subject: check_RELEASEDIR & /etc/mk.conf
To: None <tech-userlevel@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: tech-userlevel
Date: 03/04/2002 12:53:31
make release still won't work on i386 distrib floppies if RELEASEDIR is set
in /etc/mk.conf rather than in the environment. lukem already fixed one
instance of this in kernel-ramdisk/Makefile by moving bsd.own.mk further up
the Makefile. The problem still exists essentially for the other Makefiles
involving check_RELEASEDIR target. I wonder if it wouldn't be better to
.include <bsd.own.mk> in src/distrib/Makefile.inc where the target
check_RELEASEDIR is defined, rather than fiddle with each Makefile which
uses it. What is common practice?

Cheers,

Patrick


Index: Makefile.inc
===================================================================
RCS file: /cvsroot/basesrc/distrib/Makefile.inc,v
retrieving revision 1.3
diff -u -r1.3 Makefile.inc
--- Makefile.inc	2002/02/26 13:25:03	1.3
+++ Makefile.inc	2002/03/04 12:53:12
@@ -1,6 +1,7 @@
 #	$NetBSD: Makefile.inc,v 1.3 2002/02/26 13:25:03 lukem Exp $
 
 .include "../Makefile.inc"
+.include <bsd.own.mk>
 
 # Top level of distrib
 #