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

 
 

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

Submitted by:  Heling Huang <huanghlwk>
Submitted on:  Mon 26 Jul 2010 02:03:50 PM UTC  
 
Severity: 3 - NormalItem Group: Enhancement
Status: DuplicatePrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 3.81Operating System: Any
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
Comment:
   

Attached Files
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.)
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.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 26 Jul 2010 02:45:08 PM UTCpsmithStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
    Mon 26 Jul 2010 02:03:51 PM UTChuanghlwkAttached File-=>Added job.c, #21072
      Attached File-=>Added main.c, #21073
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1