[gtk-doc] make: add dependency on setup-build.stamp for scan:



commit af3bf981888ceeb05d6c13d18dcf91e03165dba9
Author: Stefan Sauer <ensonic users sf net>
Date:   Thu Feb 6 20:18:32 2014 +0100

    make: add dependency on setup-build.stamp for scan:
    
    This fixes issues with parallel builds.
    Fixes #697940

 gtk-doc.make              |    2 +-
 gtk-doc.notmpl.make       |    2 +-
 tests/gtk-doc.make        |    2 +-
 tests/gtk-doc.notmpl.make |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk-doc.make b/gtk-doc.make
index e449fcd..52b150a 100644
--- a/gtk-doc.make
+++ b/gtk-doc.make
@@ -110,7 +110,7 @@ GTK_DOC_V_INTROSPECT=$(GTK_DOC_V_INTROSPECT_$(V))
 GTK_DOC_V_INTROSPECT_=$(GTK_DOC_V_INTROSPECT_$(AM_DEFAULT_VERBOSITY))
 GTK_DOC_V_INTROSPECT_0= echo "  DOC   Introspecting gobjects";
 
-scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
+scan-build.stamp: setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB)
        $(GTK_DOC_V_SCAN)_source_dir='' ; \
        for i in $(DOC_SOURCE_DIR) ; do \
            _source_dir="$${_source_dir} --source-dir=$$i" ; \
diff --git a/gtk-doc.notmpl.make b/gtk-doc.notmpl.make
index 6263baa..3ea79c9 100644
--- a/gtk-doc.notmpl.make
+++ b/gtk-doc.notmpl.make
@@ -108,7 +108,7 @@ GTK_DOC_V_INTROSPECT=$(GTK_DOC_V_INTROSPECT_$(V))
 GTK_DOC_V_INTROSPECT_=$(GTK_DOC_V_INTROSPECT_$(AM_DEFAULT_VERBOSITY))
 GTK_DOC_V_INTROSPECT_0= echo "  DOC   Introspecting gobjects";
 
-scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
+scan-build.stamp: setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB)
        $(GTK_DOC_V_SCAN)_source_dir='' ; \
        for i in $(DOC_SOURCE_DIR) ; do \
            _source_dir="$${_source_dir} --source-dir=$$i" ; \
diff --git a/tests/gtk-doc.make b/tests/gtk-doc.make
index 4eefef6..32052b0 100644
--- a/tests/gtk-doc.make
+++ b/tests/gtk-doc.make
@@ -85,7 +85,7 @@ setup-build.stamp: ts
 
 #### scan ####
 
-scan-build.stamp: ts $(HFILE_GLOB) $(CFILE_GLOB)
+scan-build.stamp: ts setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB)
        @ts1=`cat ts`;ts2=`date $(TS_FMT)`;tsd=`echo $$ts2-$$ts1 | bc`; \
        echo "  DOC   `date --utc --date @0$$tsd +%H:%M:%S.%N`: Scanning header files"
        @_source_dir='' ; \
diff --git a/tests/gtk-doc.notmpl.make b/tests/gtk-doc.notmpl.make
index b3a700a..16c82cc 100644
--- a/tests/gtk-doc.notmpl.make
+++ b/tests/gtk-doc.notmpl.make
@@ -82,7 +82,7 @@ setup-build.stamp: ts
 
 #### scan ####
 
-scan-build.stamp: ts $(HFILE_GLOB) $(CFILE_GLOB)
+scan-build.stamp: ts setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB)
        @ts1=`cat ts`;ts2=`date $(TS_FMT)`;tsd=`echo $$ts2-$$ts1 | bc`; \
        echo "  DOC   `date --utc --date @0$$tsd +%H:%M:%S.%N`: Scanning header files"
        @_source_dir='' ; \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]