From 983000618c20cc047acfb900f8165f508d327665 Mon Sep 17 00:00:00 2001 From: nhmall Date: Mon, 20 Nov 2023 11:53:58 -0500 Subject: [PATCH] another general-pre.370 follow-up --- sys/unix/hints/include/general-pre.370 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys/unix/hints/include/general-pre.370 b/sys/unix/hints/include/general-pre.370 index 82ee1b335..4b6723470 100755 --- a/sys/unix/hints/include/general-pre.370 +++ b/sys/unix/hints/include/general-pre.370 @@ -7,6 +7,7 @@ SUPATH :=$(mkfile_dir)sys/unix/ #$(info $(.VARIABLES)) ifeq ($(MAKELEVEL),0) notified=No +touchquiet= # Check the placed Makefiles against the time stamp # of their source in sys/unix, and report if appropriate. MFCHECKDAT := $(shell [ $(SUPATH)Makefile.dat -nt $(mkfile_dir)dat/Makefile ] \ @@ -22,25 +23,33 @@ MFCHECKTOP := $(shell [ $(SUPATH)Makefile.top -nt $(mkfile_dir)Makefile ] \ ifeq ($(MFCHECKDAT),outdated) $(info Attention: ../sys/unix/Makefile.dat is newer than dat/Makefile) notified=Yes +touchquiet += dat/Makefile endif ifeq ($(MFCHECKSRC),outdated) $(info Attention: ../sys/unix/Makefile.src is newer than src/Makefile) notified=Yes +touchquiet += src/Makefile endif ifeq ($(MFCHECKUTL),outdated) $(info Attention: ../sys/unix/Makefile.utl is newer than util/Makefile) notified=Yes +touchquiet += util/Makefile endif ifeq ($(MFCHECKDOC),outdated) $(info Attention: ../sys/unix/Makefile.doc is newer than doc/Makefile) notified=Yes +touchquiet += doc/Makefile endif ifeq ($(MFCHECKTOP),outdated) $(info Attention: ../sys/unix/Makefile.top is newer than Makefile) notified=Yes +touchquiet += Makefile endif ifeq ("$(notified)","Yes") $(info You should consider re-executing sys/unix/setup.sh) +ifneq ("$(touchquiet)","") +$(info or to quiet this message: 'touch $(touchquiet)') +endif $(info ) endif # notified endif # MAKELEVEL = 0