path: root/
diff options
authorSimon McVittie <>2013-06-03 15:31:26 +0100
committerSimon McVittie <>2013-06-04 12:28:27 +0100
commita942b597feb553eb72d1d984741b35e91c94aae8 (patch)
tree04ae114c6f9226c9937bc22df50b7c71dcff715d /
parentfeb24fdaa4a79ba96caa14b9572e3f1787a51955 (diff)
Avoid having two of the same set of commands run in parallel
A rule like this: _gen/x.c _gen/x.h: prerequisites $(AM_V_GEN)x-generator doesn't consider x.c and x.h together. Instead, it expands to two rules, one to generate x.c and one to generate x.h, which happen to run the same commands. This means that in the worst case, you can end up running x-generator twice in parallel, and they'll race with each other and overwrite or delete each other's output. Based on commit 36c2a545c from telepathy-glib. Bug: Signed-off-by: Simon McVittie <> Reviewed-by: Xavier Claessens <>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions