[PATCH v2] man: move vmmouse_detect back to section 1

Peter Hutterer peter.hutterer at who-t.net
Thu Apr 8 15:16:31 PDT 2010


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>
---
Changes to v1: use appmandir instead of vmmouse_detectmandir

 man/Makefile.am        |   12 +++++++++---
 man/vmmouse_detect.man |    2 +-
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/man/Makefile.am b/man/Makefile.am
index 142eb1d..d59d374 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@)
 
-EXTRA_DIST = @DRIVER_NAME at .man @DRIVER_NAME at _detect.man
+appmandir = $(APP_MAN_DIR)
+appman_PRE = @DRIVER_NAME at _detect.man
+appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
 
-CLEANFILES = $(driverman_DATA)
+EXTRA_DIST = @DRIVER_NAME at .man $(appman_PRE)
+
+CLEANFILES = $(driverman_DATA) $(appman_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
-- 
1.6.6.1

Cheers,
  Peter


More information about the xorg-devel mailing list