Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/notes Make .Nx \*V happy for current builds.



details:   https://anonhg.NetBSD.org/src/rev/fc92e443260a
branches:  trunk
changeset: 1027160:fc92e443260a
user:      uwe <uwe%NetBSD.org@localhost>
date:      Wed Dec 08 13:06:44 2021 +0000

description:
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:

 distrib/notes/Makefile.inc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 6777c24b9102 -r fc92e443260a distrib/notes/Makefile.inc
--- a/distrib/notes/Makefile.inc        Wed Dec 08 12:54:15 2021 +0000
+++ b/distrib/notes/Makefile.inc        Wed Dec 08 13:06:44 2021 +0000
@@ -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@localhost>
@@ -48,6 +48,8 @@
 .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/}



Home | Main Index | Thread Index | Old Index