summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2022-07-05 13:19:29 +1000
committerBenno Schulenberg <bensberg@telfort.nl>2022-07-06 06:41:53 +0000
commit78ffd20ba15af8b223e0327d2c54fc9d03167997 (patch)
tree16b9c4ac198b06736c8c7c1ff8ec52997a98887d
parent1c6326336d35b7fc2a60650bfb2c2abb447bda40 (diff)
man: drop the custom man suffixes
Everyone's using the same numbers now. Welcome to the future. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--man/man.xsl6
-rw-r--r--meson.build2
2 files changed, 3 insertions, 5 deletions
diff --git a/man/man.xsl b/man/man.xsl
index 883cfa36..9ed9b7bf 100644
--- a/man/man.xsl
+++ b/man/man.xsl
@@ -3,13 +3,13 @@
<xsl:output method="text" encoding="UTF-8" doctype-system="xkb.dtd"/>
<xsl:template match="/xkbConfigRegistry">
<xsl:text><![CDATA[.\" WARNING: this man page is autogenerated. Do not edit or you will lose all your changes.
-.TH XKEYBOARD-CONFIG @miscmansuffix@ @vendorversion@
+.TH XKEYBOARD-CONFIG 7 @vendorversion@
.SH NAME
xkeyboard-config \- XKB data description files
.SH DESCRIPTION
xkeyboard-config provides the description files for the X Keyboard
Extension (XKB). The configuration options below are usually applied with
-setxkbmap(@appmansuffix@).
+setxkbmap(1).
.SH MODELS
.TS
left,box;
@@ -56,7 +56,7 @@ Layout(Variant) Description
@xkb_base@/types
.SH SEE ALSO
-setxkbmap(@appmansuffix@)
+setxkbmap(1)
]]></xsl:text>
</xsl:template>
diff --git a/meson.build b/meson.build
index 8da6b42f..b46466c7 100644
--- a/meson.build
+++ b/meson.build
@@ -43,8 +43,6 @@ if xsltproc.found()
# emulating what the macros do for vendorversion, hardcoding the man
# suffixes
man_substs.set('vendorversion', '"@0@ @1@" "X Version 11"'.format(meson.project_name(), meson.project_version()))
- man_substs.set('appmansuffix', '1')
- man_substs.set('miscmansuffix', '7')
xsl = configure_file(input: 'man/man.xsl',
output: 'man.xsl',
configuration: man_substs,