follow-up to general-pre.370 change

This commit is contained in:
nhmall
2023-11-20 11:07:32 -05:00
parent 3fc24d937b
commit 90c08ab6d3

View File

@@ -6,7 +6,7 @@ mkfile_dir := $(dir $(mkfile_path))
SUPATH :=$(mkfile_dir)sys/unix/ SUPATH :=$(mkfile_dir)sys/unix/
#$(info $(.VARIABLES)) #$(info $(.VARIABLES))
ifeq ($(MAKELEVEL),0) ifeq ($(MAKELEVEL),0)
notified=0 notified=No
# Check the placed Makefiles against the time stamp # Check the placed Makefiles against the time stamp
# of their source in sys/unix, and report if appropriate. # of their source in sys/unix, and report if appropriate.
MFCHECKDAT := $(shell [ $(SUPATH)Makefile.dat -nt $(mkfile_dir)dat/Makefile ] \ MFCHECKDAT := $(shell [ $(SUPATH)Makefile.dat -nt $(mkfile_dir)dat/Makefile ] \
@@ -21,25 +21,25 @@ MFCHECKTOP := $(shell [ $(SUPATH)Makefile.top -nt $(mkfile_dir)Makefile ] \
&& echo "outdated") && echo "outdated")
ifeq ($(MFCHECKDAT),outdated) ifeq ($(MFCHECKDAT),outdated)
$(info Attention: ../sys/unix/Makefile.dat is newer than dat/Makefile) $(info Attention: ../sys/unix/Makefile.dat is newer than dat/Makefile)
notified=1 notified=Yes
endif endif
ifeq ($(MFCHECKSRC),outdated) ifeq ($(MFCHECKSRC),outdated)
$(info Attention: ../sys/unix/Makefile.src is newer than src/Makefile) $(info Attention: ../sys/unix/Makefile.src is newer than src/Makefile)
notified=1 notified=Yes
endif endif
ifeq ($(MFCHECKUTL),outdated) ifeq ($(MFCHECKUTL),outdated)
$(info Attention: ../sys/unix/Makefile.utl is newer than util/Makefile) $(info Attention: ../sys/unix/Makefile.utl is newer than util/Makefile)
notified=1 notified=Yes
endif endif
ifeq ($(MFCHECKDOC),outdated) ifeq ($(MFCHECKDOC),outdated)
$(info Attention: ../sys/unix/Makefile.doc is newer than doc/Makefile) $(info Attention: ../sys/unix/Makefile.doc is newer than doc/Makefile)
notified=1 notified=Yes
endif endif
ifeq ($(MFCHECKTOP),outdated) ifeq ($(MFCHECKTOP),outdated)
$(info Attention: ../sys/unix/Makefile.top is newer than Makefile) $(info Attention: ../sys/unix/Makefile.top is newer than Makefile)
notified=1 notified=Yes
endif endif
ifneq (notified,0) ifeq ("$(notified)","Yes")
$(info You should consider re-executing sys/unix/setup.sh) $(info You should consider re-executing sys/unix/setup.sh)
$(info ) $(info )
endif # notified endif # notified