Summary: The flag --no-print-directory becomes effective too
                   Group: make
               Submitter: masahiroy
               Submitted: Fri 09 Jun 2023 08:15:30 AM UTC
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: None
        Operating System: None
           Fixed Release: None
           Triage Status: None


Follow-up Comments:

Date: Fri 09 Jun 2023 08:15:30 AM UTC By: Masahiro Yamada <masahiroy>
Since 8f9e7722ff0f80d9f6ae9aba350ae02c3c6db878, --no-print-directory flag gets
effective too early.

[Sample Code]

$ cat Makefile 
all: ; $(MAKE) -C sub

$ cat sub/Makefile 
MAKEFLAGS += --no-print-directory
all: ; @echo hello

[Test Result]

Prior to commit 8f9e7722ff0f80d9f6ae9aba350ae02c3c6db878,

$ make-4.4
make-4.4 -C sub
make-4.4[1]: Entering directory '/tmp/sub'
make-4.4[1]: Leaving directory '/tmp/sub'

Since commit 8f9e7722ff0f80d9f6ae9aba350ae02c3c6db878,

$ make-4.4.1
make-4.4.1 -C sub

I believe "--no-print-directory" in sub/Makefile should not suppress the
"Entering directory to sub".


Reply to this item at:


Message sent via Savannah

Reply via email to