Peter Hutterer wrote:
> Was moved to section 4 in commit 36c2cd8ec6d3bf7191a98a04a876e8d7b6f64d5d,
> "man: build vmmouse_detect man page".
> 
> Signed-off-by: Peter Hutterer <[email protected]>
> ---
>  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 = @[email protected] @driver_n...@_detect.man
> +driverman_PRE = @[email protected]
>  
>  driverman_DATA = $(driverman_PRE:m...@driver_man_suffix@)
>  
> +vmmouse_detectmandir = $(APP_MAN_DIR)
> +vmmouse_detectman_PRE = @driver_n...@_detect.man
> +vmmouse_detectman_DATA = $(@driver_n...@_detectman_pre:m...@app_man_suffix@)
> +
>  EXTRA_DIST = @[email protected] @driver_n...@_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 <[email protected]>

-- 
        -Alan Coopersmith-        [email protected]
         Oracle Solaris Platform Engineering: X Window System

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to