Issue 73918

Summary: Mark some internal dmake macros as precious
Product: Build Tools Reporter: quetschke
Component: dmakeAssignee: hjs <hans-joachim.lankenau>
Status: CLOSED FIXED QA Contact: issues@tools <issues>
Severity: Trivial    
Priority: P3 CC: hans-joachim.lankenau, issues
Version: current   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 77992    
Attachments:
Description Flags
Patch for dmake none

Description quetschke 2007-01-26 18:18:14 UTC
Dmake internally allows to treat macros as precious. They can only be overridden
if the force operator ! is used.

The internal macros PWD, MAKEDIR and TMD are currently overridable by the user
even though that doesn't make sense as they are redefined during the runtime.

Setting them can only confuse dmake. See issue 61212 as an example.

Ideally there should be a new macro property M_INTERNAL or so marking macros
that are never ever to be overridden by the user as currently you still can
force a new value on M_PRECOIUS macros but marking them as precious shall be
good enough for now.
Comment 1 quetschke 2007-01-27 00:04:19 UTC
Created attachment 42499 [details]
Patch for dmake
Comment 2 quetschke 2007-01-27 00:54:19 UTC
The patch contains also some clean ups and comment changes.

Committed.

I verified manually that PWD doesn't get imported anymore.

@ause: Please verify.

P.S.: The
PWD:=$(shell +echo %_cwd)
in wnt/macros.mk should now be unneeded.
Comment 3 quetschke 2007-01-27 00:55:25 UTC
Forgot to say: Committed to dmake48.
Comment 4 hjs 2007-05-31 14:53:59 UTC
.
Comment 5 hjs 2007-07-13 13:55:28 UTC
dmake 4.8 is on the MWS now