aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/mk/whats.mk
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bmake/mk/whats.mk')
-rw-r--r--contrib/bmake/mk/whats.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/bmake/mk/whats.mk b/contrib/bmake/mk/whats.mk
index e10964463d4a..81708c2225b1 100644
--- a/contrib/bmake/mk/whats.mk
+++ b/contrib/bmake/mk/whats.mk
@@ -1,4 +1,6 @@
-# $Id: whats.mk,v 1.10 2020/08/19 17:51:53 sjg Exp $
+# SPDX-License-Identifier: BSD-2-Clause
+#
+# $Id: whats.mk,v 1.12 2024/02/17 17:26:57 sjg Exp $
#
# @(#) Copyright (c) 2014-2020, Simon J. Gerraty
#
@@ -55,7 +57,7 @@ what_location := ${WHAT_LOCATION}
# this script is done in multiple lines so we can
# use the token ${.OODATE:MNO_META_CMP}
# to prevent the variable parts making this constantly out-of-date
-${what_uuid}.c:
+${what_uuid}.c: .NOTMAIN
echo 'extern const char ${WHAT_LINE_IDS:@i@${what_var}_$i[]@:ts,};' > $@
.for i in ${WHAT_LINE_IDS}
.if ${WHAT_NOCMP_LINE_IDS:M$i} != ""