Avoid race condition when using multiple make jobs
authorDiego 'Flameeyes' Pettenò <flameeyes@gentoo.org>
Thu, 23 Nov 2006 14:15:30 +0000 (15:15 +0100)
committerJosh Triplett <josh@freedesktop.org>
Thu, 23 Nov 2006 15:32:18 +0000 (07:32 -0800)
commit11738b2af0d8bfcf5b2f7c0d3e6ade1a14866b94
treebb51d7cfb0224fff8623a79f2d0686bf49788f34
parent30c768b322f613d697a61997e081a19aecd0b07f
Avoid race condition when using multiple make jobs

Avoid race condition when symlinking XML files.
When declaring a rule with many files as target, the rule is called
when any of them is requested, resulting in multiple for loops happening
during a make process using more than one job.
Also, use '$(LN_S) -f' rather than removing and recreating a file,
that one should be as supported as 'rm -f' and requires one less command.
src/Makefile.am