Apache OpenOffice (AOO) Bugzilla – Issue 71422
Add "real quite" recipe switch to dmake
Last modified: 2013-08-07 15:34:52 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.
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.
Created attachment 40514 [details] @@-recipe silencing for *nix/native Windows
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.
Created attachment 40526 [details] New @@-recipe patch
The previous patch seems to work as expected. Committed to dmake47 but we still need some documentation and a testcase.
Committed documentation changes and testcases. Please verify.
works fine. even shows up the output on "-v" which will help debugging makefiles :)
seen in MWS