On Sat, Feb 28, 2009 at 4:51 PM, Paul Smith <[email protected]> wrote:
> In this example you actually don't even need to export QA_STEP, since
> only the shell is expanding it. But, if you do really need to export it
> then please do it portably:
>
> test:
> @QA_STEP=start; export QA_STEP; <do-something>
>
Since we're into pet peeves, and since as you note make uses /bin/sh, why
not push
test:
@QA_STEP=start <do-something>
as the recommended "elegant" option? It's worked on every /bin/sh ever made
and it's the way one-shot exporting was originally designed to work.
DSB
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make