Follow-up Comment #2, bug #10593 (project make):
This has the potential to create a backward compatibility problem if it were
fixed. Currently someone could take advantage of the fact that "export" does
not export to $(shell) environments and "fixing" this would alter that
behavior.
As an alternative I think it would be better to add a new macro function for
exporting:
$ cat <<'EOF' | env TEST=stuff gmake -f -
$(warning ${TEST})
$(warning echo $${TEST})
export TEST := blah
$(warning echo $${TEST})
$(export TEST)
$(warning echo $${TEST})
$(export TEST,something else)
$(warning echo $${TEST})
EOF
/tmp/Gmp3tNks:1: stuff
/tmp/Gmp3tNks:2: stuff
/tmp/Gmp3tNks:4: stuff
/tmp/Gmp3tNks:6: blah
/tmp/Gmp3tNks:8: something else
make: *** No targets. Stop.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?10593>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make