I think the text is as intended.  The previous paragraph talks about the -t, -n 
and -q switches as being treated similarly.  The example could use any but has 
to pick one.

________________________________
From: Bug-make <bug-make-bounces+martin.dorey=hds....@gnu.org> on behalf of 牛啊 
<285430...@qq.com>
Sent: Sunday, May 24, 2020 07:26
To: bug-make
Subject: Maybe a bug in make manual. 
https://www.gnu.org/software/make/manual/make.html#Overriding-Makefiles

***** EXTERNAL EMAIL *****
https://www.gnu.org/software/make/manual/make.html#Overriding-Makefiles<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.gnu.org%2Fsoftware%2Fmake%2Fmanual%2Fmake.html%23Overriding-Makefiles&data=01%7C01%7CMartin.Dorey%40hitachivantara.com%7C4ec28fbc9a7f424e98b908d7ffee6c4a%7C18791e1761594f52a8d4de814ca8284a%7C0&sdata=5Df%2B6u7JM%2B1Z%2Bp2fW1QgFiTL%2FVHgAh3GwwemojG7CzA%3D&reserved=0>

The last 2 paragraph of chapter [3.5 How Makefiles are Remade ]

>>>> Original Manul >>>>>>>>>>>>
However, on occasion you might actually wish to prevent updating of even the 
makefiles. You can do this by specifying the makefiles as goals in the command 
line as well as specifying them as makefiles. When the makefile name is 
specified explicitly as a goal, the options ‘-t’ and so on do apply to them.

Thus, ‘make -f mfile -n mfile foo’ would read the makefile mfile, print the 
recipe needed to update it without actually running it, and then print the 
recipe needed to update foo without running that. The recipe for foo will be 
the one specified by the existing contents of mfile.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

I think the option you want to explain is '-n', rather than '-t'. So the 
sentance should be:

 >>>> When the makefile name is specified explicitly as a goal, the options 
 >>>> ‘-n’ and so on do apply to them. <<<<<<<


I'm not sure whether I'm right , thank you for your time, that's all.

Best regards!

Reply via email to