To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=65122
Issue #:|65122
Summary:|multiple %-targets defined in tg_config.mk
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 May 5 11:07:54 -0700
2006 -------
I started to tidy up the %-target handling in dmake45 and immediately stumbled
over tg_config.mk - line 103. Something like this:
bla{$(alllangiso)}$/$(PACKAGEDIR)$/%.properties :| blub$/%.xcs
This shouldn't work according to:
<%-target> [<attributes>] <ruleop> [<%-prerequisites>] [;<recipe>]
where %-target is a target containing exactly a single `%' sign,
attributes is a list (possibly empty) of attributes, ruleop is the
standard set of rule operators, %-prerequisites , if present, is a list
of prerequisites containing zero or more `%' signs, and recipe, if
present, is the first line of the recipe.
and the :| operator definition doesn't help either.
But it works with the current 4.4 dmake (but only with the :| operator)
%.a %.b :| %.x ; recipe
is expanded to:
%.a : %.x ; recipe
%.b : %.x ; recipe
The :| still has problems with indirect prerequisites, see issue 48087, but
I think the "new" meaning of the :| operator should be:
Expand all targets / non-indirect prerequisite combinations and add the
indirect prerequisites to each target. Example:
%.a %.b :| %.x %.y 'Z' ; recipe
is expanded to:
%.a : %.x 'Z' ; recipe
%.b : %.x 'Z' ; recipe
%.a : %.y 'Z' ; recipe
%.b : %.y 'Z' ; recipe
This is nearly already the case with dmake 4.4 but the indirect prereq handling
is broken ATM.
Without the :| this fails currently and for consistency we should issue
an error if more than one %target is on one line without the :| operator.
---------------------------------------------------------------------
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]