URL:
<http://savannah.gnu.org/bugs/?30551>
Summary: Add an option to show commands even with @
Project: make
Submitted by: huanghlwk
Submitted on: Mon 26 Jul 2010 02:03:50 PM GMT
Severity: 3 - Normal
Item Group: Enhancement
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 3.81
Operating System: Any
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 26 Jul 2010 02:03:51 PM GMT Name: job.c Size: 87kB By:
huanghlwk
Do not know how to diff with CVS, so add the whole files modified.
<http://savannah.gnu.org/bugs/download.php?file_id=21072>
-------------------------------------------------------
Date: Mon 26 Jul 2010 02:03:51 PM GMT Name: main.c Size: 89kB By:
huanghlwk
Do not know how to diff with CVS, so add the whole files modified.
<http://savannah.gnu.org/bugs/download.php?file_id=21073>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30551>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make