diff options
author | Peter Simons <simons@cryp.to> | 2011-01-06 21:55:54 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2011-01-06 21:59:31 +0100 |
commit | d79068fed431cb71cd884658adda7700faf2c601 (patch) | |
tree | 50c66cdffee76e80c199c086d9a314d8e2e3f4d7 | |
parent | 76ca2be8f29d1814fa698a68cae35d905ce63020 (diff) | |
download | autoconf-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.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 "$<" "$@" |