Issue 71422 - Add "real quite" recipe switch to dmake
Summary: Add "real quite" recipe switch to dmake
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: dmake (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: hjs
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-10 15:37 UTC by quetschke
Modified: 2013-08-07 15:34 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
@@-recipe silencing for *nix/native Windows (55.54 KB, patch)
2006-11-11 05:17 UTC, quetschke
no flags Details | Diff
New @@-recipe patch (57.60 KB, patch)
2006-11-12 04:55 UTC, quetschke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description quetschke 2006-11-10 15:37:01 UTC
If would be nice to have a new additional recipe switch (so far we have @%+-)
to indicate that we want to have the output supressed.

A replacement for lines like:

blah :
        @-$(RM) $@ >& $(NULLDEV)


What char should we use? Maybe two @ (@@)? How about: '>', or '&'?

I'll check how easy it is to use the @@ variant.
Comment 1 quetschke 2006-11-10 19:54:11 UTC
I think I'm going to use the @@ aproach. Currently dmake doesn't complain about
multiple recipe switches,

blah :
        @@+echo blah

works fine (but no special meaning so far) so we don't even break compatibility
with this enhancement.
Comment 2 quetschke 2006-11-11 05:17:53 UTC
Created attachment 40514 [details]
@@-recipe silencing for *nix/native Windows
Comment 3 quetschke 2006-11-12 02:14:34 UTC
Hmm, it works but I have to make some more changes. We want

        @@+echo something > foo

and also

$(shell @@echo blah > bar)

to work as expected.
Comment 4 quetschke 2006-11-12 04:55:28 UTC
Created attachment 40526 [details]
New @@-recipe patch
Comment 5 quetschke 2006-11-12 05:07:21 UTC
The previous patch seems to work as expected. Committed to dmake47 but
we still need some documentation and a testcase.
Comment 6 quetschke 2006-11-13 20:41:35 UTC
Committed documentation changes and testcases.

Please verify.
Comment 7 hjs 2007-01-16 13:08:20 UTC
works fine. even shows up the output on "-v" which will help debugging makefiles :)
Comment 8 hjs 2007-01-23 14:11:16 UTC
seen in MWS