another general-pre.370 follow-up
This commit is contained in:
@@ -7,6 +7,7 @@ SUPATH :=$(mkfile_dir)sys/unix/
|
|||||||
#$(info $(.VARIABLES))
|
#$(info $(.VARIABLES))
|
||||||
ifeq ($(MAKELEVEL),0)
|
ifeq ($(MAKELEVEL),0)
|
||||||
notified=No
|
notified=No
|
||||||
|
touchquiet=
|
||||||
# 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 ] \
|
||||||
@@ -22,25 +23,33 @@ MFCHECKTOP := $(shell [ $(SUPATH)Makefile.top -nt $(mkfile_dir)Makefile ] \
|
|||||||
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=Yes
|
notified=Yes
|
||||||
|
touchquiet += dat/Makefile
|
||||||
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=Yes
|
notified=Yes
|
||||||
|
touchquiet += src/Makefile
|
||||||
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=Yes
|
notified=Yes
|
||||||
|
touchquiet += util/Makefile
|
||||||
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=Yes
|
notified=Yes
|
||||||
|
touchquiet += doc/Makefile
|
||||||
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=Yes
|
notified=Yes
|
||||||
|
touchquiet += Makefile
|
||||||
endif
|
endif
|
||||||
ifeq ("$(notified)","Yes")
|
ifeq ("$(notified)","Yes")
|
||||||
$(info You should consider re-executing sys/unix/setup.sh)
|
$(info You should consider re-executing sys/unix/setup.sh)
|
||||||
|
ifneq ("$(touchquiet)","")
|
||||||
|
$(info or to quiet this message: 'touch $(touchquiet)')
|
||||||
|
endif
|
||||||
$(info )
|
$(info )
|
||||||
endif # notified
|
endif # notified
|
||||||
endif # MAKELEVEL = 0
|
endif # MAKELEVEL = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user