Follow-up Comment #2, bug #26596 (group make):

I just stumbled into this and it's extremely unobvious how this works. At
least "7.3 Conditionals that Test Flags" needs to be updated to indicate that
options taking arguments are omitted from the list during parsing.

I was trying to test for 'j' so that I could make sure that a sub-make wasn't
accidentally started with a duplicate '-j' option overriding the upper level
makefile. I'd incorrectly assumed that $(MAKEFLAGS) was just always empty
during parsing (as it seemed to be in my testing) until I went to file a bug
on it and happened to see this old bug report in the system.


    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to