summaryrefslogtreecommitdiff
path: root/startx.man
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-06-17 11:15:12 -0400
committerGaetan Nadon <memsize@videotron.ca>2011-06-18 14:33:28 -0400
commita81fab654085239ffcc4981b6bdab9fc18ec3d08 (patch)
treed97180afd3cfa730a27d27842b689b3362b65a26 /startx.man
parent8e6cc68283518bba2820ff0d919aee9d49e3eb59 (diff)
Use XORG_MANPAGE_SECTIONS rather than cpprules.in to build man pages
As for all other manpages, use sed rather than the C preprocessor from the Imake days. Use SCOMAN Automake variable and groff .if for conditional text We can therefore remove ARCHMANDEFS Remove man page related code from cpprules.in Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'startx.man')
-rw-r--r--startx.man11
1 files changed, 6 insertions, 5 deletions
diff --git a/startx.man b/startx.man
index 641a631..0405be0 100644
--- a/startx.man
+++ b/startx.man
@@ -74,7 +74,7 @@ startx -- -dpi 100
.PP
startx -- -layout Multihead
.RE
-#ifdef __SCOMAN__
+.if '__SCOMAN__'' .ig
.PP
To determine the client to run,
.B startx
@@ -90,7 +90,8 @@ looks for the following files, in order:
.I __xinitdir__/xinitrc
.RE
.PP
-#else
+..
+.if !'x.__SCOMAN__'x.' .ig
.PP
To determine the client to run,
.B startx
@@ -102,7 +103,7 @@ the file
in the
.I xinit
library directory.
-#endif
+..
If command line client options are given, they override this
behavior and revert to the
.BR xinit (__appmansuffix__)
@@ -186,7 +187,7 @@ and
.IR Xsecurity (__miscmansuffix__)
manual pages for more information on X client/server authentication.
.SH FILES
-#ifdef __SCOMAN__
+.if '__SCOMAN__'' .ig
.TP 25
.I $(HOME)/.startxrc
Client to run. Typically a shell script which runs many programs in
@@ -196,7 +197,7 @@ the background.
Client to use if the user has no
.I .startxrc
file.
-#endif
+..
.TP 25
.I $(HOME)/.xinitrc
Client to run. Typically a shell script which runs many programs in