From owner-cvs-all@FreeBSD.ORG Wed Aug 18 12:37:24 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39AEC16A4CE; Wed, 18 Aug 2004 12:37:24 +0000 (GMT) Received: from n33.kp.t-systems-sfr.com (n33.kp.t-systems-sfr.com [129.247.16.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B14243D45; Wed, 18 Aug 2004 12:37:22 +0000 (GMT) (envelope-from harti@freebsd.org) Received: from n81.sp.op.dlr.de (n81g.sp.op.dlr.de [129.247.163.1]) i7ICbJX138416; Wed, 18 Aug 2004 14:37:20 +0200 Received: from zeus.nt.op.dlr.de (zeus.nt.op.dlr.de [129.247.173.3]) i7ICbJI65452; Wed, 18 Aug 2004 14:37:19 +0200 Received: from beagle.kn.op.dlr.de (opkndnwsbsd178 [129.247.173.178]) by zeus.nt.op.dlr.de (8.11.7+Sun/8.9.1) with ESMTP id i7ICbIe16324; Wed, 18 Aug 2004 14:37:18 +0200 (MET DST) Date: Wed, 18 Aug 2004 14:37:19 +0200 (CEST) From: Harti Brandt X-X-Sender: brandt@beagle.kn.op.dlr.de To: Ruslan Ermilov In-Reply-To: <20040818090418.GA91463@ip.net.ua> Message-ID: <20040818143652.E872@beagle.kn.op.dlr.de> References: <200408180706.i7I763ps032344@repoman.freebsd.org> <20040818081702.GB91053@ip.net.ua> <20040818102107.S872@beagle.kn.op.dlr.de> <20040818090418.GA91463@ip.net.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-ports@freebsd.org cc: Greg Lewis cc: cvs-all@freebsd.org cc: ports-committers@freebsd.org Subject: Re: cvs commit: ports/java/jdk14 Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Harti Brandt List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 12:37:24 -0000 On Wed, 18 Aug 2004, Ruslan Ermilov wrote: RE>On Wed, Aug 18, 2004 at 10:25:32AM +0200, Harti Brandt wrote: RE>> On Wed, 18 Aug 2004, Ruslan Ermilov wrote: RE>[...] RE>> RE>2. Makefile can modify this global as necessary, either by RE>> RE>modifying the variable directly (including adding to it, RE>> RE>overriding it, or even undefining it with .undef), or thru RE>> RE>the special .MAKEFLAGS macro. RE>> ^^^^^ target (see commented out line in Makefile RE>> below) RE>> RE>Also, "submakes" here and there should actually read "all programs RE>that make executes". RE> RE>[...] RE> RE>> This is an excellent explanation. Perhaps we can put part of it into RE>> make(1)? RE>> RE>You mean documenting the difference between .MAKEFLAGS macro RE>and .MAKEFLAGS target? RE> RE>%%% RE>Index: make.1 RE>=================================================================== RE>RCS file: /home/ncvs/src/usr.bin/make/make.1,v RE>retrieving revision 1.78 RE>diff -u -r1.78 make.1 RE>--- make.1 9 Aug 2004 16:13:54 -0000 1.78 RE>+++ make.1 18 Aug 2004 09:02:15 -0000 RE>@@ -581,6 +581,15 @@ RE> for all programs which RE> .Nm RE> executes. RE>+By modifying the contents of the RE>+.Va .MAKEFLAGS RE>+variable, makefile can alter the contents of the RE>+.Va MAKEFLAGS RE>+environment variable made available for all programs which RE>+.Nm RE>+executes; compare with the RE>+.Ic .MAKEFLAGS RE>+special target below. RE> .It Va MFLAGS RE> is provided for backward compatibility and RE> contains all the options from the RE>@@ -1146,6 +1155,20 @@ RE> .Fl f RE> option will have RE> no effect. RE>+Flags (except for RE>+.Fl f ) RE>+and variable assignments specified as the source RE>+for this target are also appended to the RE>+.Va .MAKEFLAGS RE>+internal variable. RE>+Please note the difference between this target and the RE>+.Va .MAKEFLAGS RE>+internal variable: specifying an option or variable RE>+assignment as the source for this target will affect RE>+.Em both RE>+the current makefile and all processes that RE>+.Nm RE>+executes. RE> .It Ic .MFLAGS RE> Same as above, for backward compatibility. RE> .\" XXX: NOT YET!!!! RE>%%% Sounds fine. harti