From f9560a348e83ec3c494aee0d42b056383392ffca Mon Sep 17 00:00:00 2001 From: Yan Li Date: Wed, 4 Aug 2010 15:02:43 +0800 Subject: [PATCH] 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 --- libguile/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)