bug-make
[Top][All Lists]
Advanced

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

Re: The man and Info pages say different things about make -p


From: Paul Smith
Subject: Re: The man and Info pages say different things about make -p
Date: Mon, 02 Sep 2024 15:41:32 -0400
User-agent: Evolution 3.52.4 (by Flathub.org)

On Tue, 2024-06-25 at 05:49 +0800, Dan Jacobson wrote:
> The man and Info pages say different things:

> To print the data base without trying to remake any files, use 'make
> -qp'.
> 
> To print the data base without trying to remake any files, use make -
> p -f/dev/null.

This was already fixed as part of SV 64571.

make.1 says:

   To print the built-in data base only, use "make -p -f/dev/null".

make Info says:

   To print the data base without trying to remake any files, use 'make
   -qp'.  To print the data base of predefined rules and variables, use
   'make -p -f/dev/null'.

> Also they should mention how to print the database in non-jumbled
> order.

There is no way to print the database in a "non-jumbled" order; make's
internal database is stored in a hash table and so all ordering that
existed in the makefiles is lost when the makefiles are parsed.  The
output from --print-directory generates its content in hash table
order.

-- 
Paul D. Smith <psmith@gnu.org>            Find some GNU Make tips at:
https://www.gnu.org                       http://make.mad-scientist.net
"Please remain calm...I may be mad, but I am a professional." --Mad
Scientist






reply via email to

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