From 4ef30fd5e0f175a4f8c79be49fb15a4fc6676517 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 30 Jan 2025 14:33:01 -0500 Subject: Remove project and version number from man page OS field The mandoc documentation suggests leaving this blank. Although I still think it's nicer for third-party projects to put their own versions here (as many GNU utilities do, for example), it's a hassle in practice to maintain the version over time, and I'm not sure what to do about the date in that case. The version is passed to the mandoc command instead for generating the HTML man pages, so those are unchanged. --- doc/man/meson.build | 1 + doc/man/serdi.1 | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'doc/man') diff --git a/doc/man/meson.build b/doc/man/meson.build index 0ce65d01..f714b6be 100644 --- a/doc/man/meson.build +++ b/doc/man/meson.build @@ -49,6 +49,7 @@ if not get_option('tools').disabled() mandoc, '-Kutf-8', '-Ostyle=mandoc.css,man=%N.html', + '-Ios=Serd @0@'.format(meson.project_version()), '-Thtml', '-Wwarning,stop', '@INPUT@', diff --git a/doc/man/serdi.1 b/doc/man/serdi.1 index 16d05c50..d928ad39 100644 --- a/doc/man/serdi.1 +++ b/doc/man/serdi.1 @@ -1,8 +1,8 @@ -.\" Copyright 2011-2024 David Robillard +.\" Copyright 2011-2025 David Robillard .\" SPDX-License-Identifier: ISC -.Dd January 18, 2025 +.Dd January 30, 2025 .Dt SERDI 1 -.Os Serd 0.32.4 +.Os .Sh NAME .Nm serdi .Nd read and write RDF syntax -- cgit v1.2.1