Re: REGRESSION: x86 vDSO: remove vdso-syms.o
From: Jan Engelhardt
Date: Fri Feb 15 2008 - 08:46:21 EST
On Feb 11 2008 15:29, Roland McGrath wrote:
>Sam might want to experiment with something like:
>
> stdout_target = $(1) > $(@D)/.tmp_$(@F) && mv -f $(@D)/.tmp_$(@F) $@
>
> cmd_foo = $(call stdout_target,blah | sed s/foo/bar/)
>
>to clean up all the places that would benefit from robust treatment for
>output files vs interrupted/erring make runs.
In most cases however, issuing ctrl+c signals make and make will
remove the output file.
Problematic indeed, "temp" could be left when ctrl+c is hit:
foo: bar
generate-something <bar >temp;
add-up <temp >foo;
What could work, temp being removed on ^C:
temp: bar
generate-something <bar >temp;
foo: temp
add-up <temp >foo;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/