bug-make
[Top][All Lists]
Advanced

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

[bug #58013] .SILENT appears to be ignored in GNU Make 4.3


From: anonymous
Subject: [bug #58013] .SILENT appears to be ignored in GNU Make 4.3
Date: Fri, 20 Mar 2020 04:06:50 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36

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

                 Summary: .SILENT appears to be ignored in GNU Make 4.3
                 Project: make
            Submitted by: None
            Submitted on: Fri 20 Mar 2020 08:06:48 AM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.3
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

Hello,

I noticed that after upgrading GNU Make to 4.3 messages such as these:

make[1]: Entering directory '/.../test/a'
make[1]: Leaving directory '/.../test/a'

started to appear when building my project. The Makefile is a complex one
which is generated by CMake. CMake tries to suppress such output by default,
by inserting ".SILENT:" in the generated Makefile. Starting with GNU Make 4.3
this directive appears to be ignored, as illustrated with this toy project:

$ find . | sort
.   (directory)
./a (directory)
./a/Makefile
./Makefile

$ cat Makefile
.SILENT:
all: a
.PHONY: a
a: %:
        $(MAKE) -C $@

$ cat a/Makefile
all: a
.PHONY: a
a:
        echo hello





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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