summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authoruwe <uwe@NetBSD.org>2021-12-08 13:06:44 +0000
committeruwe <uwe@NetBSD.org>2021-12-08 13:06:44 +0000
commitc612ec00f6eecf652aed567b16ca7f4475c26e8a (patch)
treeacfac32d54b279ab5643f97aff7e18e85bed8af8 /distrib
parent01fd536dfefc3068fc9024a7237ea2215f8ffd1d (diff)
Make .Nx \*V happy for current builds.
I'm not sure why mdoc complains here (not the technical reason, but the pragmatic purpose). My best guess is that it wants to catch mistakes like .Fx 1.6.1 (instead of .Nx 1.6.1). I'm not entirely convinced this doesn't create more problems that it solves. No objections in the 15 years since this was proposed netbsd-docs.
Diffstat (limited to 'distrib')
-rw-r--r--distrib/notes/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/distrib/notes/Makefile.inc b/distrib/notes/Makefile.inc
index f066b9578b6..fb4ff6dd232 100644
--- a/distrib/notes/Makefile.inc
+++ b/distrib/notes/Makefile.inc
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.56 2020/06/23 06:28:01 martin Exp $
+# $NetBSD: Makefile.inc,v 1.57 2021/12/08 13:06:44 uwe Exp $
#
# Ross Harvey <ross@NetBSD.org>
@@ -48,6 +48,8 @@ PRESET+= -rFOR_RELEASE=0
.endif
.if (${DISTRIBVER:M*.99.*})
PRESET+= -rRELEASE_BRANCH=0
+# make .Nx \*V happy
+PRESET+= -doperating-system-NetBSD-${DISTRIBVER}=${DISTRIBVER}
.elif (${DISTRIBVER:M*.[0-9]*})
PRESET+= -rRELEASE_BRANCH=1
PRESET+= -rminor=${DISTRIBVER:C/^[0-9]+\.([0-9])+.*$/\1/}