diff options
author | ru <ru@FreeBSD.org> | 2008-03-25 15:47:22 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2008-03-25 15:47:22 +0000 |
commit | 771a69438e7036c95f5bbaf73984d679d974c8e0 (patch) | |
tree | d13a48136c5423f8acd5b238b07c5ae311fb3ad4 | |
parent | e8523e8018d8b2fe1868a047de0701ddc10ddf17 (diff) | |
download | FreeBSD-src-771a69438e7036c95f5bbaf73984d679d974c8e0.zip FreeBSD-src-771a69438e7036c95f5bbaf73984d679d974c8e0.tar.gz |
Add code that should catch the most common case when date/time is
set incorrectly.
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -172,6 +172,10 @@ ${TGTS}: .MAIN: all STARTTIME!= LC_ALL=C date +CHECK_TIME!= find ${.CURDIR}/sys/sys/param.h -mtime -0 +.if !empty(CHECK_TIME) +.error check your date/time: ${STARTTIME} +.endif .if defined(HISTORICAL_MAKE_WORLD) || defined(DESTDIR) # |