bugmake - Bugs: bug #30551, Add an option to show commands...

 
 

bug #30551: Add an option to show commands even with @

Submitter:  Heling Huang <huanghlwk>
Submitted:  Mon 26 Jul 2010 02:03:50 PM UTC
   
 
Severity:  3 - Normal Item Group:  Enhancement
Status:  Duplicate Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  3.81 Operating System:  Any
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 26 Jul 2010 02:45:08 PM UTC, comment #1: 

Closed as a duplicate of bug #111

When providing a change the best way is to use the "diff" program with either the -c (context diff) or -u (unified diff) options and attach the differences, not the entire files.

Cheers!

Paul D. Smith <psmith>
Group administrator
Mon 26 Jul 2010 02:03:50 PM UTC, original submission:  

Most projects use "@" to hide there commands, but when someone tries to debug or analyze it, he always wants to know what make really do for him. Although the "-n" argument displays useful information, it is actually a fake run, and may not always be the same as a real one. As a result, some well designed projects provide their own mechanism: the linux kernel uses the argument "V=1", and the android project has the target "showcommands". But, there are so many projects which do not provide such kind of machenism, such as our company's :(.

So, why not added an option to override the "@"? I added another options "-V" / "--verbose" to do this. It is pretty easy, only 2 files are modified. Do not know what I should submit, so just attached the modified wholes files.

Heling Huang <huanghlwk>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #21073:  main.c added by huanghlwk (89KiB - text/x-csrc - Do not know how to diff with CVS, so add the whole files modified.)
file #21072:  job.c added by huanghlwk (87KiB - text/x-csrc - Do not know how to diff with CVS, so add the whole files modified.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by huanghlwk (Submitted the item)
  • -email is unavailable- added by huanghlwk
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-07-26 psmith StatusNone Duplicate
        Open/ClosedOpen Closed
    2010-07-26 huanghlwk Attached File- Added job.c, #21072
        Attached File- Added main.c, #21073
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code