[PATCH] Distribute and install Xfbdev manpage

Julien Cristau jcristau at debian.org
Sat Jul 17 03:49:18 PDT 2010


Signed-off-by: Julien Cristau <jcristau at debian.org>
---
 hw/kdrive/fbdev/Makefile.am    |   16 ++++++++++++++++
 hw/kdrive/fbdev/Xfbdev.man     |   28 ----------------------------
 hw/kdrive/fbdev/Xfbdev.man.pre |   28 ++++++++++++++++++++++++++++
 3 files changed, 44 insertions(+), 28 deletions(-)
 delete mode 100644 hw/kdrive/fbdev/Xfbdev.man
 create mode 100644 hw/kdrive/fbdev/Xfbdev.man.pre

diff --git a/hw/kdrive/fbdev/Makefile.am b/hw/kdrive/fbdev/Makefile.am
index ec9df95..5ca807a 100644
--- a/hw/kdrive/fbdev/Makefile.am
+++ b/hw/kdrive/fbdev/Makefile.am
@@ -26,4 +26,20 @@ Xfbdev_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
 
 relink:
 	$(AM_V_at)rm -f $(bin_PROGRAMS) && $(MAKE) $(bin_PROGRAMS)
+
+MAN_SRCS = Xfbdev.man.pre
+
+appmandir = $(APP_MAN_DIR)
+appman_DATA = Xfbdev.$(APP_MAN_SUFFIX)
+
+Xfbdev.$(APP_MAN_SUFFIX): Xfbdev.man
+	-$(AM_V_at)rm -f Xfbdev.$(APP_MAN_SUFFIX)
+	$(AM_V_at)$(LN_S) Xfbdev.$(APP_MAN_SUFFIX)
+
+include $(top_srcdir)/cpprules.in
+
+CLEANFILES = $(appman_DATA) Xfbdev.man
+
+EXTRA_DIST = $(MAN_SRCS)
+
 endif
diff --git a/hw/kdrive/fbdev/Xfbdev.man b/hw/kdrive/fbdev/Xfbdev.man
deleted file mode 100644
index bfdae16..0000000
--- a/hw/kdrive/fbdev/Xfbdev.man
+++ /dev/null
@@ -1,28 +0,0 @@
-.\" $RCSId: xc/programs/Xserver/hw/kdrive/fbdev/Xfbdev.man,v 1.4 2001/01/27 18:20:40 dawes Exp $
-.\"
-.TH Xfbdev 1 __vendorversion__
-.SH NAME
-Xfbdev \- Linux framebuffer device tiny X server
-.SH SYNOPSIS
-.B Xfbdev
-.RI [ :display ] 
-.RI [ option ...]
-.SH DESCRIPTION
-.B Xfbdev
-is a generic X server for Linux.
-.B Xfbdev
-doesn't know about any particular hardware, and uses the framebuffer
-provided by the Linux framebuffer device.
-.SH OPTIONS
-.B Xfbdev
-accepts the common options of the Xkdrive family of servers.  Please
-see Xkdrive(1).
-.SH KEYBOARD
-To be written.
-.SH SEE ALSO
-X(__miscmansuffix__), Xserver(1), Xkdrive(1), xdm(1), xinit(1).
-.SH AUTHORS
-The
-.B Xfbdev
-server was written by Keith Packard.
-
diff --git a/hw/kdrive/fbdev/Xfbdev.man.pre b/hw/kdrive/fbdev/Xfbdev.man.pre
new file mode 100644
index 0000000..bfdae16
--- /dev/null
+++ b/hw/kdrive/fbdev/Xfbdev.man.pre
@@ -0,0 +1,28 @@
+.\" $RCSId: xc/programs/Xserver/hw/kdrive/fbdev/Xfbdev.man,v 1.4 2001/01/27 18:20:40 dawes Exp $
+.\"
+.TH Xfbdev 1 __vendorversion__
+.SH NAME
+Xfbdev \- Linux framebuffer device tiny X server
+.SH SYNOPSIS
+.B Xfbdev
+.RI [ :display ] 
+.RI [ option ...]
+.SH DESCRIPTION
+.B Xfbdev
+is a generic X server for Linux.
+.B Xfbdev
+doesn't know about any particular hardware, and uses the framebuffer
+provided by the Linux framebuffer device.
+.SH OPTIONS
+.B Xfbdev
+accepts the common options of the Xkdrive family of servers.  Please
+see Xkdrive(1).
+.SH KEYBOARD
+To be written.
+.SH SEE ALSO
+X(__miscmansuffix__), Xserver(1), Xkdrive(1), xdm(1), xinit(1).
+.SH AUTHORS
+The
+.B Xfbdev
+server was written by Keith Packard.
+
-- 
1.7.1



More information about the xorg-devel mailing list