[PATCH:xorg-docs 1/4] X.man: give pointers to specs & other docs

Alan Coopersmith alan.coopersmith at oracle.com
Tue Oct 27 19:45:00 PDT 2015

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
 man/X.man |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/man/X.man b/man/X.man
index bc9fc1a..057a7b8 100644
--- a/man/X.man
+++ b/man/X.man
@@ -76,6 +76,20 @@ the \fIXlib - C Language X Interface\fP manual,
 the \fIX Window System Protocol\fP specification,
 the \fIX Toolkit Intrinsics - C Language Interface\fP manual,
 and various toolkit documents.
+.\" Use .UR macro from groff's man(7) if available, otherwise just
+.\" display URL as plain text for other processors.
+.if !d UR \{
+.de UR
+.RI < \\$1 >
+.de UE
+.RI \\$1
+.. \}
+Those manuals, specifications, & documents may be found in
+__datadir__/doc or on the X.Org Foundation website at
+.UR "http://www.x.org/releases/current/doc/"
+.UE .
 The number of programs that use \fIX\fP is quite large.
 Programs provided in the core X.Org Foundation distribution include:
@@ -1269,10 +1283,17 @@ the appropriate instance name can be placed before the asterisk:
 .BR Xvfb (__appmansuffix__),
 .BR Xvnc (__appmansuffix__),
 .BR XWin (__appmansuffix__).
 .\" specifications
 .I "Xlib \- C Language X Interface\fR,\fP"
 .I "X Toolkit Intrinsics \- C Language Interface"
+Those specifications, and additional specifications & documentation for the
+X Window System may also be found in __datadir__/doc or on the X.Org Foundation
+website at
+.UR "http://www.x.org/releases/current/doc/"
+.UE .
 X Window System is a trademark of The Open Group.

More information about the xorg-devel mailing list