[PATCH vmmouse] man: move vmmouse_detect back to section 1
Alan Coopersmith
alan.coopersmith at oracle.com
Thu Apr 8 15:07:06 PDT 2010
Peter Hutterer wrote:
> Was moved to section 4 in commit 36c2cd8ec6d3bf7191a98a04a876e8d7b6f64d5d,
> "man: build vmmouse_detect man page".
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> man/Makefile.am | 10 ++++++++--
> man/vmmouse_detect.man | 2 +-
> 2 files changed, 9 insertions(+), 3 deletions(-)
>
> diff --git a/man/Makefile.am b/man/Makefile.am
> index 142eb1d..c1c637f 100644
> --- a/man/Makefile.am
> +++ b/man/Makefile.am
> @@ -23,13 +23,17 @@
>
> drivermandir = $(DRIVER_MAN_DIR)
>
> -driverman_PRE = @DRIVER_NAME at .man @DRIVER_NAME at _detect.man
> +driverman_PRE = @DRIVER_NAME at .man
>
> driverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
>
> +vmmouse_detectmandir = $(APP_MAN_DIR)
> +vmmouse_detectman_PRE = @DRIVER_NAME at _detect.man
> +vmmouse_detectman_DATA = $(@DRIVER_NAME at _detectman_PRE:man=@APP_MAN_SUFFIX@)
> +
> EXTRA_DIST = @DRIVER_NAME at .man @DRIVER_NAME at _detect.man
>
> -CLEANFILES = $(driverman_DATA)
> +CLEANFILES = $(driverman_DATA) $(vmmouse_detectman_DATA)
>
> # Strings to replace in man pages
> XORGRELSTRING = @PACKAGE_STRING@
> @@ -51,3 +55,5 @@ SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
>
> .man.$(DRIVER_MAN_SUFFIX):
> $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
> +.man.$(APP_MAN_SUFFIX):
> + $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
> diff --git a/man/vmmouse_detect.man b/man/vmmouse_detect.man
> index a7b884e..53cc36d 100644
> --- a/man/vmmouse_detect.man
> +++ b/man/vmmouse_detect.man
> @@ -18,7 +18,7 @@
> .\"
> .\" That's right, although mdetect itself is under the QPL, this manpage is
> .\" under the GPL. Enjoy!
> -.TH vmmouse_detect __drivermansuffix__ __vendorversion__
> +.TH vmmouse_detect __appmansuffix__ __vendorversion__
> .SH NAME
> vmmouse_detect \- VMware mouse device autodetection tool
> .SH SYNOPSIS
Normally we'd use appmandir instead of vmmouse_detectmandir,
but either one works.
Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Platform Engineering: X Window System
More information about the xorg-devel
mailing list