URL:
  <http://savannah.gnu.org/bugs/?50823>

                 Summary: MAKEFILE_LIST contains wrong file name if file name
contains dollar character
                 Project: make
            Submitted by: None
            Submitted on: Tue 18 Apr 2017 08:16:02 AM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.2.1
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

To reproduce:

$ echo -e 'all:\n\techo $(value MAKEFILE_LIST)' > /tmp/foo\$bar.mk
$ ./make -f '/tmp/foo$bar.mk'
echo  /tmp/fooar.mk
/tmp/fooar.mk

I think this is inconsistent and contradicts the documentation, which states
"MAKEFILE_LIST Contains the name of each makefile that is parsed by make, in
the order in which it was parsed."

See also http://stackoverflow.com/q/43466130/2965738




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50823>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to