[PATCH 2/2] Xorg.wrap manpages: use __appmansuffix__ instead of hardcoding 1
Gaetan Nadon
memsize at videotron.ca
Fri Apr 18 06:45:52 PDT 2014
On 14-04-18 05:31 AM, Hans de Goede wrote:
> Cc: Gaetan Nadon <memsize at videotron.ca>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> ---
> hw/xfree86/man/Xorg.wrap.man | 4 ++--
> hw/xfree86/man/Xwrapper.config.man | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/hw/xfree86/man/Xorg.wrap.man b/hw/xfree86/man/Xorg.wrap.man
> index f2153e3..58937c7 100644
> --- a/hw/xfree86/man/Xorg.wrap.man
> +++ b/hw/xfree86/man/Xorg.wrap.man
> @@ -1,4 +1,4 @@
> -.\" Xwrapper.wrap.1
> +.\" Xwrapper.wrap.__appmansuffix__
> .\"
> .\" Copyright 2014 Red Hat, Inc.
> .\"
> @@ -26,7 +26,7 @@
> .\"
> .\" shorthand for double quote that works everywhere.
> .ds q \N'34'
> -.TH Xorg.wrap 1 __xorgversion__
> +.TH Xorg.wrap __appmansuffix__ __xorgversion__
> .SH NAME
> Xorg.wrap \- Xorg X server binary wrapper
> .SH DESCRIPTION
> diff --git a/hw/xfree86/man/Xwrapper.config.man b/hw/xfree86/man/Xwrapper.config.man
> index 800947c..5c777c9 100644
> --- a/hw/xfree86/man/Xwrapper.config.man
> +++ b/hw/xfree86/man/Xwrapper.config.man
> @@ -1 +1 @@
> -.so man1/Xorg.wrap.1
> +.so man__appmansuffix__/Xorg.wrap.__appmansuffix__
If you can display both man pages showing the correct section number.
Reviewed-by: Gaetan Nadon <memsize at videotron.ca>
More information about the xorg-devel
mailing list