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

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)