From c612ec00f6eecf652aed567b16ca7f4475c26e8a Mon Sep 17 00:00:00 2001 From: uwe Date: Wed, 8 Dec 2021 13:06:44 +0000 Subject: 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. --- distrib/notes/Makefile.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 @@ -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/} -- cgit