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

                 Summary: Prefix character not applied to all canned recipe
lines if provided by variable
                   Group: make
               Submitter: None
               Submitted: Wed 15 Jan 2025 09:35:44 AM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.4.1
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 15 Jan 2025 09:35:44 AM UTC By: Anonymous
Minimal example:

define def
  echo first line
  echo second line
endef

Q=@

all:
        $(Q)$(def)


Output:

first line
echo second line
second line


I would expect the prefix character @ to be applied to both recipe lines of
"def". This is the case when the @ is provided literally. Provided by
variable, though, it is only applied to the first line of the canned recipe.







    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to