diff options
author | Simon J. Gerraty <sjg@FreeBSD.org> | 2024-04-24 19:25:42 +0000 |
---|---|---|
committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2024-04-24 19:25:42 +0000 |
commit | 0135101e23f98205157928dc819ef3bc993a4276 (patch) | |
tree | ec5a2f051ff82866ac3b1f583f655c1cdee4ea63 | |
parent | d7ac42676dc403cd31d4a6c9a91a2ed5680cca86 (diff) | |
download | src-0135101e23f98205157928dc819ef3bc993a4276.tar.gz src-0135101e23f98205157928dc819ef3bc993a4276.zip |
meta.autodep.mk do not override start_utc
Update meta.autodep.mk
If included at level 0 it is important not to override start_utc
-rw-r--r-- | share/mk/meta.autodep.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/mk/meta.autodep.mk b/share/mk/meta.autodep.mk index 9824570ecc43..55f2d66e56aa 100644 --- a/share/mk/meta.autodep.mk +++ b/share/mk/meta.autodep.mk @@ -1,6 +1,6 @@ # SPDX-License-Identifier: BSD-2-Clause # -# $Id: meta.autodep.mk,v 1.62 2024/02/17 17:26:57 sjg Exp $ +# $Id: meta.autodep.mk,v 1.63 2024/04/24 18:56:41 sjg Exp $ # # @(#) Copyright (c) 2010, Simon J. Gerraty @@ -308,7 +308,9 @@ CLEANFILES += *.meta filemon.* *.db # these make it easy to gather some stats now_utc ?= ${%s:L:localtime} +.if !defined(start_utc) start_utc := ${now_utc} +.endif meta_stats= meta=${empty(.MAKE.META.FILES):?0:${.MAKE.META.FILES:[#]}} \ created=${empty(.MAKE.META.CREATED):?0:${.MAKE.META.CREATED:[#]}} |