Module Name:    src
Committed By:   uwe
Date:           Wed Dec  8 13:06:44 UTC 2021

Modified Files:
        src/distrib/notes: Makefile.inc

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/distrib/notes/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/notes/Makefile.inc
diff -u src/distrib/notes/Makefile.inc:1.56 src/distrib/notes/Makefile.inc:1.57
--- src/distrib/notes/Makefile.inc:1.56	Tue Jun 23 06:28:01 2020
+++ src/distrib/notes/Makefile.inc	Wed Dec  8 13:06:44 2021
@@ -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 <r...@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/}

Reply via email to