To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=67145





------- Additional comments from [EMAIL PROTECTED] Sun Jul  9 09:42:50 -0700 
2006 -------
Easy testcase:

$ ./dmake/dmake.exe -rf t67145_1.mk
echo all
all

--- t67145_1.mk ---
SHELL*:=/bin/sh 
SHELLFLAGS*:=-ce

all: $(NEWDEP)
        echo $@

NEWDEP=abc
--- t67145_1.mk ---

If NEWDEP would be evaluated at the time the target is build there should be
an error that abc cannot be found and made.

Actually this works as designed and can be worked around by using late
evaluation using $$ instead of $, see dmake man page: DYNAMIC PREREQUISITES.
But this should be said more clearly in the man page.

So, the workaround for this problem is using $$, for the testcase this changes
line 4 to:
all: $$(NEWDEP)

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to