bug-make
[Top][All Lists]
Advanced

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

Confusing message when make starts in current directory


From: Andrea Monaco
Subject: Confusing message when make starts in current directory
Date: Wed, 15 Dec 2021 17:59:03 +0100

Hello!


I noticed that when invoking make in the current directory, say
"/home/john/foo", it often starts with the message

  make[1]: Entering directory '/home/john/foo'

and ends with

  make[1]: Leaving directory '/home/john/foo'


A message like that is correct and useful when make descends in
subdirectories, but I find it a bit confusing when the directory make
starts from (or ends with) is the current one; you don't enter a
directory you are already in, and you don't leave it if the program
completes there.

In my opinion, those messages should always come with a chdir.



Thanks,

Andrea Monaco



reply via email to

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