diff options
author | Yan Li <yan.i.li@intel.com> | 2010-08-04 15:02:43 +0800 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2010-08-04 20:07:27 +0200 |
commit | f9560a348e83ec3c494aee0d42b056383392ffca (patch) | |
tree | 0b1d4357b16908952030c62cbbf42a26446510e6 | |
parent | 2af6e1351da68c09d6b50be535901a4f85a4807a (diff) | |
download | guile-f9560a348e83ec3c494aee0d42b056383392ffca.tar.gz |
Compiling DOT_X_FILES requires version.h
There was a race condition when building Guile since DOT_X_FILES didn't
depend on version.h, which is dynamically generated. Sometimes the
DOT_X_FILES are compiled before the version.h is generated and leads to
build failure. This patch fixed this problem.
Signed-off-by: Yan Li <yan.i.li@intel.com>
-rw-r--r-- | libguile/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/Makefile.am b/libguile/Makefile.am index a899b856e..9836aa1ad 100644 --- a/libguile/Makefile.am +++ b/libguile/Makefile.am @@ -670,7 +670,7 @@ AM_V_FILTER_0 = @echo " FILTER" $@; .c.doc: -$(AM_V_FILTER)$(AWK) -f $(srcdir)/guile-func-name-check $< && (./guile-snarf-docs $(snarfcppopts) $< | ./guile_filter_doc_snarfage$(EXEEXT) --filter-snarfage) > $@ || { rm $@; false; } -$(DOT_X_FILES) $(EXTRA_DOT_X_FILES): scmconfig.h snarf.h guile-snarf.in +$(DOT_X_FILES) $(EXTRA_DOT_X_FILES): scmconfig.h snarf.h guile-snarf.in version.h $(DOT_DOC_FILES) $(EXTRA_DOT_DOC_FILES): scmconfig.h snarf.h guile-snarf-docs.in guile_filter_doc_snarfage$(EXEEXT) |