bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Make bug report: broken dry-run functionality with sub-make invo


From: David A. Wheeler
Subject: Re: GNU Make bug report: broken dry-run functionality with sub-make invocations
Date: Fri, 18 Mar 2022 15:14:20 -0400


> On Mar 18, 2022, at 2:03 PM, Paul Smith <psmith@gnu.org> wrote:
> 
> On Fri, 2022-03-18 at 17:48 +0000, Martin Dorey wrote:
>> Maybe putting it in the form of a patch on the latest git source will
>> help it over the finish line:
> 
> I'm OK with adding some short text about this into the man page.  As
> David mentions it may be important enough to do that since command
> being run by make even when the user gives "-n" could give unexpected
> or even unpleasant consequences.

It's also a potential security problem. Someone who runs "make -n" and
expects *nothing* to be run (other than make) will NOT get what they expect.
Hinting, in the man page, that some statements *are* run seems appropriate...
and if we can be specific without a lot of text, even better.

> However, in general I want to be clear that the man page is not, and is
> not intended to be, user documentation.  It's a reference page.

I agree. But adding 1-2 sentences seems reasonable.

--- David A. Wheeler



reply via email to

[Prev in Thread] Current Thread [Next in Thread]