From 771a69438e7036c95f5bbaf73984d679d974c8e0 Mon Sep 17 00:00:00 2001 From: ru Date: Tue, 25 Mar 2008 15:47:22 +0000 Subject: Add code that should catch the most common case when date/time is set incorrectly. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index ae568db..8df0424 100644 --- a/Makefile +++ b/Makefile @@ -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) # -- cgit v1.1