Substitute variables in manual pages

This commit is contained in:
Pavel Roskin 2016-12-23 12:02:55 -08:00
parent a9bfa879e7
commit 6c453ff1be
13 changed files with 34 additions and 24 deletions

1
docs/man/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.[1-8]

View File

@ -1,4 +1,4 @@
dist_man_MANS = \ man_MANS = \
xrdp-dis.1 \ xrdp-dis.1 \
sesman.ini.5 \ sesman.ini.5 \
xrdp.ini.5 \ xrdp.ini.5 \
@ -11,7 +11,16 @@ dist_man_MANS = \
xrdp-sesrun.8 \ xrdp-sesrun.8 \
xrdp-sessvc.8 xrdp-sessvc.8
noinst_man_MANS = \ EXTRA_DIST = $(man_MANS:=.in)
xrdp-xcon.8
EXTRA_DIST = $(noinst_man_MANS) SUBST_VARS = sed \
-e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \
-e 's|@bindir[@]|$(bindir)|g' \
-e 's|@localstatedir[@]|$(localstatedir)|g' \
-e 's|@sysconfdir[@]|$(sysconfdir)|g'
SUFFIXES = .in
.in:
$(SUBST_VARS) $< > $@
CLEANFILES = $(man_MANS)

View File

@ -1,5 +1,5 @@
.\" .\"
.TH "sesman.ini" "5" "0.9.1" "xrdp team" "" .TH "sesman.ini" "5" "@PACKAGE_VERSION@" "xrdp team" ""
.SH "NAME" .SH "NAME"
\fBsesman.ini\fR \- Configuration file for \fBxrdp-sesman\fR(8) \fBsesman.ini\fR \- Configuration file for \fBxrdp-sesman\fR(8)

View File

@ -1,4 +1,4 @@
.TH "xrdp\-chansrv" "8" "0.9.1" "xrdp team" "" .TH "xrdp\-chansrv" "8" "@PACKAGE_VERSION@" "xrdp team" ""
.SH "NAME" .SH "NAME"
\fBxrdp\-chansrv\fR \- \fBxrdp\fR channel server \fBxrdp\-chansrv\fR \- \fBxrdp\fR channel server

View File

@ -1,4 +1,4 @@
.TH "xrdp-dis" "1" "0.9.1" "xrdp team" .TH "xrdp-dis" "1" "@PACKAGE_VERSION@" "xrdp team"
.SH NAME .SH NAME
xrdp\-dis \- xrdp disconnect utility xrdp\-dis \- xrdp disconnect utility

View File

@ -1,4 +1,4 @@
.TH "xrdp\-genkeymap" "8" "0.9.1" "xrdp team" "" .TH "xrdp\-genkeymap" "8" "@PACKAGE_VERSION@" "xrdp team" ""
.de URL .de URL
. \\$2 \(laURL: \\$1 \(ra\\$3 . \\$2 \(laURL: \\$1 \(ra\\$3
.. ..

View File

@ -3,7 +3,7 @@
.\" Copyright © 2007, 2008 Vincent Bernat <bernat@debian.org> .\" Copyright © 2007, 2008 Vincent Bernat <bernat@debian.org>
.\" License: GPL-2+ .\" License: GPL-2+
.\"- .\"-
.TH xrdp\-keygen 8 "0.9.1" "xrdp team" .TH xrdp\-keygen 8 "@PACKAGE_VERSION@" "xrdp team"
.SH NAME .SH NAME
xrdp\-keygen \- xrdp RSA key generation utility xrdp\-keygen \- xrdp RSA key generation utility

View File

@ -1,4 +1,4 @@
.TH "xrdp-sesadmin" "8" "0.9.1" "xrdp team" .TH "xrdp-sesadmin" "8" "@PACKAGE_VERSION@" "xrdp team"
.SH NAME .SH NAME
xrdp\-sesadmin \- console XRDP sessions administration tool xrdp\-sesadmin \- console XRDP sessions administration tool

View File

@ -1,4 +1,4 @@
.TH "xrdp\-sesman" "8" "0.9.1" "xrdp team" "" .TH "xrdp\-sesman" "8" "@PACKAGE_VERSION@" "xrdp team" ""
.SH "NAME" .SH "NAME"
xrdp\-sesman \- \fBxrdp\fR(8) session manager xrdp\-sesman \- \fBxrdp\fR(8) session manager

View File

@ -1,4 +1,4 @@
.TH "xrdp\-sesrun" "8" "0.9.1" "xrdp team" "" .TH "xrdp\-sesrun" "8" "@PACKAGE_VERSION@" "xrdp team" ""
.SH "NAME" .SH "NAME"
xrdp\-sesrun \- \fBsesman\fR(8) session launcher xrdp\-sesrun \- \fBsesman\fR(8) session launcher

View File

@ -1,4 +1,4 @@
.TH "xrdp\-sessvc" "8" "0.9.1" "xrdp team" "" .TH "xrdp\-sessvc" "8" "@PACKAGE_VERSION@" "xrdp team" ""
.SH "NAME" .SH "NAME"
xrdp\-sessvc \- \fBxrdp\fR session supervisor xrdp\-sessvc \- \fBxrdp\fR session supervisor

View File

@ -1,4 +1,4 @@
.TH "xrdp" "8" "0.9.1" "xrdp team" "" .TH "xrdp" "8" "@PACKAGE_VERSION@" "xrdp team" ""
.SH "NAME" .SH "NAME"
\fBxrdp\fR \- a Remote Desktop Protocol (RDP) server \fBxrdp\fR \- a Remote Desktop Protocol (RDP) server
@ -7,34 +7,34 @@ xrdp [ \-\-nodaemon | \-\-kill | \-\-help ]
.SH "DESCRIPTION" .SH "DESCRIPTION"
\fBxrdp\fR is a Remote Desktop Protocol (RDP) Server. \fBxrdp\fR is a Remote Desktop Protocol (RDP) Server.
.br .br
Unlike Windows NT/2000/2003 server, \fBxrdp\fR will not display a Windows desktop but an X window desktop to the user. Unlike Windows NT/2000/2003 server, \fBxrdp\fR will not display a Windows desktop but an X window desktop to the user.
It can also be used as a VNC\->RDP bridge. It can also be used as a VNC\->RDP bridge.
.SH "OPTIONS" .SH "OPTIONS"
.TP .TP
\fB\-n\fR, \fB\-\-nodaemon\fR \fB\-n\fR, \fB\-\-nodaemon\fR
Starts \fBxrdp\fR in foreground instead of starting it as a daemon. Starts \fBxrdp\fR in foreground instead of starting it as a daemon.
.TP .TP
\fB\-k\fR, \fB\-\-kill\fR \fB\-k\fR, \fB\-\-kill\fR
Kills running \fBxrdp\fR daemon. Kills running \fBxrdp\fR daemon.
.TP .TP
\fB\-h\fR, \fB\-\-help\fR \fB\-h\fR, \fB\-\-help\fR
Output help information and exit. Output help information and exit.
.SH "FILES" .SH "FILES"
${XRDP_BIN_DIR}/xrdp ${XRDP_BIN_DIR}/xrdp
.br .br
${XRDP_CFG_DIR}/xrdp.ini ${XRDP_CFG_DIR}/xrdp.ini
.br .br
${XRDP_LOG_DIR}/xrdp.log ${XRDP_LOG_DIR}/xrdp.log
.br .br
${XRDP_PID_DIR}/xrdp.pid ${XRDP_PID_DIR}/xrdp.pid
.SH "AUTHORS" .SH "AUTHORS"
Jay Sorg <jsorg71@users.sourceforge.net> Jay Sorg <jsorg71@users.sourceforge.net>
.br .br
Simone Fedele <ilsimo@users.sourceforge.net> Simone Fedele <ilsimo@users.sourceforge.net>
.SH "SEE ALSO" .SH "SEE ALSO"

View File

@ -1,4 +1,4 @@
.TH "xrdp.ini" "5" "0.9.1" "xrdp team" "" .TH "xrdp.ini" "5" "@PACKAGE_VERSION@" "xrdp team" ""
.SH "NAME" .SH "NAME"
\fBxrdp.ini\fR \- Configuration file for \fBxrdp\fR(8) \fBxrdp.ini\fR \- Configuration file for \fBxrdp\fR(8)