To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=70168
                 Issue #|70168
                 Summary|dmake cannot handle $ in prerequisites
               Component|tools
                 Version|current
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|dmake
             Assigned to|vq
             Reported by|vq





------- Additional comments from [EMAIL PROTECTED] Fri Oct  6 19:47:00 -0700 
2006 -------
If you run the following example:

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

all : my$$try1.xx
        echo all

./my$$try1.xx :
        echo try1
---- makefile.mk ----

you get:

dmake:  Error: -- `myry1.xx' not found, and can't be made

The problem lies in the dynamic macro expansion in Make(), around line 451 in
make.c. The prerequisite is expanded (to treat nested macro expressions) as
long as $'s are present. This unfortunately fails for literal $ characters:
  $$<something> -> $<something> -> ""

This bug is independent of issue 69742 but while testing the target
normalization I realized that prerequisites with $ didn't work.

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