Subject: Re: check_RELEASEDIR & /etc/mk.conf
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: Luke Mewburn <lukem@wasabisystems.com>
List: tech-userlevel
Date: 03/05/2002 00:19:08
On Mon, Mar 04, 2002 at 12:53:31PM +0000, Patrick Welche wrote:
  | 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?

We could just move the targets to bsd.own.mk (or somewhere else in share/mk)
instead.


  | 
  | 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
  |  #

-- 
Luke Mewburn  <lukem@wasabisystems.com>  http://www.wasabisystems.com
Luke Mewburn     <lukem@netbsd.org>      http://www.netbsd.org
Wasabi Systems - NetBSD hackers for hire
NetBSD - the world's most portable UNIX-like operating system