Message274330
| Author |
martin.panter |
| Recipients |
martin.panter, ned.deily, xiang.zhang |
| Date |
2016年09月04日.01:30:52 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1472952653.19.0.00779605116251.issue27950@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I never noticed this because unless I am debugging a build problem I use "make -s", which hides all the commands lines, and lets you see compiler warnings etc much easier.
Very briefly testing with Gnu Make and BSD Make, your patch doesn’t seem to do anything too disastrous. BTW BSD Make seems to treat the existing python-config target comments as Make comments without any output, while Gnu Make treats them as shell comments and outputs them.
However it seems that other Make implementations might take your comments in the middle of a list of commands as a sign to end the list of commands. See <http://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html>:
"An empty or blank line, or a line beginning with '#', may begin a new entry."
Maybe it would be best to move these comments to before the target rules, with clarification, e.g. "Substitution happens [in the first sed command] . . . [The second sed command] replaces . . ." |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年09月04日 01:30:53 | martin.panter | set | recipients:
+ martin.panter, ned.deily, xiang.zhang |
| 2016年09月04日 01:30:53 | martin.panter | set | messageid: <1472952653.19.0.00779605116251.issue27950@psf.upfronthosting.co.za> |
| 2016年09月04日 01:30:53 | martin.panter | link | issue27950 messages |
| 2016年09月04日 01:30:52 | martin.panter | create |
|