bug-make
[Top][All Lists]
Advanced

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

[bug #64288] The flag --no-print-directory becomes effective too early


From: Masahiro Yamada
Subject: [bug #64288] The flag --no-print-directory becomes effective too early
Date: Fri, 9 Jun 2023 04:15:32 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64288>

                 Summary: The flag --no-print-directory becomes effective too
early
                   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'
hello
make-4.4[1]: Leaving directory '/tmp/sub'

Since commit 8f9e7722ff0f80d9f6ae9aba350ae02c3c6db878,

$ make-4.4.1
make-4.4.1 -C sub
hello


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







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64288>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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