diff options
author | David Robillard <d@drobilla.net> | 2025-01-30 14:33:01 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-01-30 15:51:01 -0500 |
commit | 4ef30fd5e0f175a4f8c79be49fb15a4fc6676517 (patch) | |
tree | efe0ec0698e35516df50b7b26ebc771fb03e1873 /doc/man/meson.build | |
parent | 40cf01fefae08c4d750e3c42e3aaede9293ea881 (diff) | |
download | serd-4ef30fd5e0f175a4f8c79be49fb15a4fc6676517.tar.gz serd-4ef30fd5e0f175a4f8c79be49fb15a4fc6676517.tar.bz2 serd-4ef30fd5e0f175a4f8c79be49fb15a4fc6676517.zip |
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.
Diffstat (limited to 'doc/man/meson.build')
-rw-r--r-- | doc/man/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
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@', |