summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2011-01-06 21:55:54 +0100
committerPeter Simons <simons@cryp.to>2011-01-06 21:59:31 +0100
commitd79068fed431cb71cd884658adda7700faf2c601 (patch)
tree50c66cdffee76e80c199c086d9a314d8e2e3f4d7
parent76ca2be8f29d1814fa698a68cae35d905ce63020 (diff)
downloadautoconf-archive-d79068fed431cb71cd884658adda7700faf2c601.tar.gz
When a macro fails our consistency checks, touch the generated file with an
absurdly old modification date to ensure that the file is being re-generated again the next time make is run.
-rw-r--r--cfg.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg.mk b/cfg.mk
index eeb26a7..48ccc0c 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -31,7 +31,7 @@ $(STAGEDIR)/manifest:
$(STAGEDIR)/%.m4 : $(M4DIR)/%.m4 $(STAGEDIR)/manifest $(srcdir)/macro.py $(srcdir)/macro2m4.py
$(srcdir)/macro2m4.py "$<" "$@"
- @diff -u "$<" "$@"
+ @diff -u "$<" "$@" || (touch --date="1970-01-01 01:00:00" "$@"; false)
$(DOCDIR)/%.texi : $(STAGEDIR)/%.m4 $(srcdir)/macro2texi.py $(srcdir)/macro.py
$(srcdir)/macro2texi.py "$<" "$@"