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 <psm...@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