[gtk-doc] tests: make the timestamps work with -jn
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] tests: make the timestamps work with -jn
- Date: Thu, 8 Sep 2011 16:04:52 +0000 (UTC)
commit 0822f0d42faf1b6d9d73e12a9bb7c4158471f531
Author: Stefan Sauer <ensonic users sf net>
Date: Thu Sep 8 18:04:29 2011 +0200
tests: make the timestamps work with -jn
tests/gtk-doc.make | 8 +++++---
tests/gtk-doc.notmpl.make | 8 +++++---
2 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/tests/gtk-doc.make b/tests/gtk-doc.make
index 02afbb1..8d4fc36 100644
--- a/tests/gtk-doc.make
+++ b/tests/gtk-doc.make
@@ -62,10 +62,12 @@ docs: html-build.stamp pdf-build.stamp
$(REPORT_FILES): sgml-build.stamp
+ts:
+ @echo >ts `date +%s.%N`;
+
#### setup ####
-setup-build.stamp:
- @echo >ts `date +%s.%N`;
+setup-build.stamp: ts
- if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
echo ' DOC Preparing build'; \
files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
@@ -83,7 +85,7 @@ setup-build.stamp:
#### scan ####
-scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
+scan-build.stamp: ts $(HFILE_GLOB) $(CFILE_GLOB)
@ts1=`cat ts`;ts2=`date +%s.%N`;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 f7557d9..5d15e4d 100644
--- a/tests/gtk-doc.notmpl.make
+++ b/tests/gtk-doc.notmpl.make
@@ -62,10 +62,12 @@ docs: html-build.stamp pdf-build.stamp
$(REPORT_FILES): sgml-build.stamp
+ts:
+ @echo >ts `date +%s.%N`;
+
#### setup ####
-setup-build.stamp:
- @echo >ts `date +%s.%N`;
+setup-build.stamp: ts
- if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
echo ' DOC Preparing build'; \
files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
@@ -80,7 +82,7 @@ setup-build.stamp:
#### scan ####
-scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
+scan-build.stamp: ts $(HFILE_GLOB) $(CFILE_GLOB)
@ts1=`cat ts`;ts2=`date +%s.%N`;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]