diff options
author | Mikhail Zabaluev <mikhail.zabaluev@nokia.com> | 2011-10-25 17:08:20 +0300 |
---|---|---|
committer | Mikhail Zabaluev <mikhail.zabaluev@nokia.com> | 2011-10-25 17:08:20 +0300 |
commit | 2c30c3b8f7a7df8ae78aead13a84e39614471fba (patch) | |
tree | 9b81033895d01449a511c8bc1e6c455acfadfbfe | |
parent | 54ac9a23387546370652f5c81d2f735d1e294596 (diff) |
Fix a race condition in codegen make rules
It occurs in parallel builds when your mkdir is not fast enough.
-rw-r--r-- | telepathy-glib/codegen.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/telepathy-glib/codegen.am b/telepathy-glib/codegen.am index 5440fae4..f34e28f1 100644 --- a/telepathy-glib/codegen.am +++ b/telepathy-glib/codegen.am @@ -127,7 +127,9 @@ _gen/stable-spec.xml: stable-interfaces.xml _gen/stable-stamp $(tools_dir)/xincl # Grab a list of re-entrant tp_cli_*_run_* methods we are committed to # generating for backwards compatibility. -_gen/reentrant-methods.list: $(top_srcdir)/docs/reference/telepathy-glib-sections.txt +_gen/reentrant-methods.list: \ + $(top_srcdir)/docs/reference/telepathy-glib-sections.txt \ + _gen/spec-stamp $(AM_V_GEN)$(GREP) 'tp_cli_.*_run_.*' $< > $@ # Things generated from the whole spec at once |