Apache OpenOffice (AOO) Bugzilla – Issue 73918
Mark some internal dmake macros as precious
Last modified: 2013-08-07 15:34:52 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.
Created attachment 42499 [details] Patch for dmake
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.
Forgot to say: Committed to dmake48.
.
dmake 4.8 is on the MWS now