summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/man/.gitignore1
-rw-r--r--docs/man/Makefile.am17
-rw-r--r--docs/man/sesman.ini.5.in (renamed from docs/man/sesman.ini.5)4
-rw-r--r--docs/man/xrdp-chansrv.8.in (renamed from docs/man/xrdp-chansrv.8)2
-rw-r--r--docs/man/xrdp-dis.1.in (renamed from docs/man/xrdp-dis.1)2
-rw-r--r--docs/man/xrdp-genkeymap.8.in (renamed from docs/man/xrdp-genkeymap.8)4
-rw-r--r--docs/man/xrdp-keygen.8.in (renamed from docs/man/xrdp-keygen.8)8
-rw-r--r--docs/man/xrdp-sesadmin.8.in (renamed from docs/man/xrdp-sesadmin.8)2
-rw-r--r--docs/man/xrdp-sesman.8.in (renamed from docs/man/xrdp-sesman.8)12
-rw-r--r--docs/man/xrdp-sesrun.8.in (renamed from docs/man/xrdp-sesrun.8)6
-rw-r--r--docs/man/xrdp-sessvc.8.in (renamed from docs/man/xrdp-sessvc.8)2
-rw-r--r--docs/man/xrdp-xcon.814
-rw-r--r--docs/man/xrdp.8.in (renamed from docs/man/xrdp.8)28
-rw-r--r--docs/man/xrdp.ini.5.in (renamed from docs/man/xrdp.ini.5)10
14 files changed, 54 insertions, 58 deletions
diff --git a/docs/man/.gitignore b/docs/man/.gitignore
new file mode 100644
index 00000000..28924786
--- /dev/null
+++ b/docs/man/.gitignore
@@ -0,0 +1 @@
+*.[1-8]
diff --git a/docs/man/Makefile.am b/docs/man/Makefile.am
index 48c26559..90863842 100644
--- a/docs/man/Makefile.am
+++ b/docs/man/Makefile.am
@@ -1,4 +1,4 @@
-dist_man_MANS = \
+man_MANS = \
xrdp-dis.1 \
sesman.ini.5 \
xrdp.ini.5 \
@@ -11,7 +11,16 @@ dist_man_MANS = \
xrdp-sesrun.8 \
xrdp-sessvc.8
-noinst_man_MANS = \
- xrdp-xcon.8
+EXTRA_DIST = $(man_MANS:=.in)
-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)
diff --git a/docs/man/sesman.ini.5 b/docs/man/sesman.ini.5.in
index b8ced28f..28da6ce4 100644
--- a/docs/man/sesman.ini.5
+++ b/docs/man/sesman.ini.5.in
@@ -1,5 +1,5 @@
.\"
-.TH "sesman.ini" "5" "0.9.1" "xrdp team" ""
+.TH "sesman.ini" "5" "@PACKAGE_VERSION@" "xrdp team" ""
.SH "NAME"
\fBsesman.ini\fR \- Configuration file for \fBxrdp-sesman\fR(8)
@@ -214,7 +214,7 @@ All entries in the \fB[SessionVariables]\fR section are set as
environment variables in the user's session.
.SH "FILES"
-/etc/xrdp/sesman.ini
+@sysconfdir@/xrdp/sesman.ini
.SH "SEE ALSO"
.BR xrdp-sesman (8),
diff --git a/docs/man/xrdp-chansrv.8 b/docs/man/xrdp-chansrv.8.in
index c1deb085..332a1907 100644
--- a/docs/man/xrdp-chansrv.8
+++ b/docs/man/xrdp-chansrv.8.in
@@ -1,4 +1,4 @@
-.TH "xrdp\-chansrv" "8" "0.9.1" "xrdp team" ""
+.TH "xrdp\-chansrv" "8" "@PACKAGE_VERSION@" "xrdp team" ""
.SH "NAME"
\fBxrdp\-chansrv\fR \- \fBxrdp\fR channel server
diff --git a/docs/man/xrdp-dis.1 b/docs/man/xrdp-dis.1.in
index 09de5f10..54ba5db2 100644
--- a/docs/man/xrdp-dis.1
+++ b/docs/man/xrdp-dis.1.in
@@ -1,4 +1,4 @@
-.TH "xrdp-dis" "1" "0.9.1" "xrdp team"
+.TH "xrdp-dis" "1" "@PACKAGE_VERSION@" "xrdp team"
.SH NAME
xrdp\-dis \- xrdp disconnect utility
diff --git a/docs/man/xrdp-genkeymap.8 b/docs/man/xrdp-genkeymap.8.in
index aa9f866c..c0261051 100644
--- a/docs/man/xrdp-genkeymap.8
+++ b/docs/man/xrdp-genkeymap.8.in
@@ -1,4 +1,4 @@
-.TH "xrdp\-genkeymap" "8" "0.9.1" "xrdp team" ""
+.TH "xrdp\-genkeymap" "8" "@PACKAGE_VERSION@" "xrdp team" ""
.de URL
. \\$2 \(laURL: \\$1 \(ra\\$3
..
@@ -21,7 +21,7 @@ The key map information is stored in the file named \fIoutfile\fP.
.SH "FILES"
.TP
-.I /etc/xrdp/km-XXXXXXXX.ini
+.I @sysconfdir@/xrdp/km-XXXXXXXX.ini
Files containing the keyboard mapping for language \fIXXXXXXXX\fP, which is a 8 digit hexadecimal number identifying the country and language code.
.RS 8
.TP
diff --git a/docs/man/xrdp-keygen.8 b/docs/man/xrdp-keygen.8.in
index 84d4eafd..32d32458 100644
--- a/docs/man/xrdp-keygen.8
+++ b/docs/man/xrdp-keygen.8.in
@@ -3,7 +3,7 @@
.\" Copyright © 2007, 2008 Vincent Bernat <bernat@debian.org>
.\" License: GPL-2+
.\"-
-.TH xrdp\-keygen 8 "0.9.1" "xrdp team"
+.TH xrdp\-keygen 8 "@PACKAGE_VERSION@" "xrdp team"
.SH NAME
xrdp\-keygen \- xrdp RSA key generation utility
@@ -15,7 +15,7 @@ xrdp\-keygen \- xrdp RSA key generation utility
.SH DESCRIPTION
\fBxrdp\-keygen\fP generates the file
-.I /etc/xrdp/rsakeys.ini
+.I @sysconfdir@/xrdp/rsakeys.ini
which contains the RSA key pair used to perform authentication to
remote clients. The public key is self-signed.
@@ -26,14 +26,14 @@ This program takes one of the following options:
Generate a new key pair.
The key data is stored in the file named \fIoutfile\fP.
.br
-If \fBauto\fP is used as \fIoutfile\fP, the default file \fI/etc/xrdp/rsakeys.ini\fP gets created if it does not yet exists.
+If \fBauto\fP is used as \fIoutfile\fP, the default file \fI@sysconfdir@/xrdp/rsakeys.ini\fP gets created if it does not yet exists.
.TP
.B test
Generate a test key pair and print information to standard output.
.SH FILES
.TP
-.I /etc/xrdp/rsakeys.ini
+.I @sysconfdir@/xrdp/rsakeys.ini
RSA public and private key pair used to identify this XRDP server.
.SH SEE ALSO
diff --git a/docs/man/xrdp-sesadmin.8 b/docs/man/xrdp-sesadmin.8.in
index 29e14c18..81ac4ab9 100644
--- a/docs/man/xrdp-sesadmin.8
+++ b/docs/man/xrdp-sesadmin.8.in
@@ -1,4 +1,4 @@
-.TH "xrdp-sesadmin" "8" "0.9.1" "xrdp team"
+.TH "xrdp-sesadmin" "8" "@PACKAGE_VERSION@" "xrdp team"
.SH NAME
xrdp\-sesadmin \- console XRDP sessions administration tool
diff --git a/docs/man/xrdp-sesman.8 b/docs/man/xrdp-sesman.8.in
index cca68e3e..73c8ee42 100644
--- a/docs/man/xrdp-sesman.8
+++ b/docs/man/xrdp-sesman.8.in
@@ -1,4 +1,4 @@
-.TH "xrdp\-sesman" "8" "0.9.1" "xrdp team" ""
+.TH "xrdp\-sesman" "8" "@PACKAGE_VERSION@" "xrdp team" ""
.SH "NAME"
xrdp\-sesman \- \fBxrdp\fR(8) session manager
@@ -23,15 +23,15 @@ Kills running \fBxrdp\-sesman\fR daemon.
Output help information and exit.
.SH "FILES"
-${SESMAN_BIN_DIR}/sesman
+@bindir@/sesman
.br
-${SESMAN_BIN_DIR}/sesrun
+@bindir@/sesrun
.br
-${SESMAN_CFG_DIR}/sesman.ini
+@sysconfdir@/xrdp/sesman.ini
.br
-${SESMAN_LOG_DIR}/sesman.log
+@localstatedir@/log/sesman.log
.br
-${SESMAN_PID_DIR}/sesman.pid
+@localstatedir@/run/sesman.pid
.SH "AUTHORS"
Jay Sorg <jsorg71@users.sourceforge.net>
diff --git a/docs/man/xrdp-sesrun.8 b/docs/man/xrdp-sesrun.8.in
index c66d773c..86e9129d 100644
--- a/docs/man/xrdp-sesrun.8
+++ b/docs/man/xrdp-sesrun.8.in
@@ -1,4 +1,4 @@
-.TH "xrdp\-sesrun" "8" "0.9.1" "xrdp team" ""
+.TH "xrdp\-sesrun" "8" "@PACKAGE_VERSION@" "xrdp team" ""
.SH "NAME"
xrdp\-sesrun \- \fBsesman\fR(8) session launcher
@@ -32,9 +32,9 @@ Screen height
Session color depth
.SH "FILES"
-${SESMAN_BIN_DIR}/sesman
+@bindir@/sesman
.br
-${SESMAN_BIN_DIR}/sesrun
+@bindir@/sesrun
.SH "AUTHORS"
Jay Sorg <jsorg71@users.sourceforge.net>
diff --git a/docs/man/xrdp-sessvc.8 b/docs/man/xrdp-sessvc.8.in
index 9a4e8189..92ca7c29 100644
--- a/docs/man/xrdp-sessvc.8
+++ b/docs/man/xrdp-sessvc.8.in
@@ -1,4 +1,4 @@
-.TH "xrdp\-sessvc" "8" "0.9.1" "xrdp team" ""
+.TH "xrdp\-sessvc" "8" "@PACKAGE_VERSION@" "xrdp team" ""
.SH "NAME"
xrdp\-sessvc \- \fBxrdp\fR session supervisor
diff --git a/docs/man/xrdp-xcon.8 b/docs/man/xrdp-xcon.8
deleted file mode 100644
index 4863bc9e..00000000
--- a/docs/man/xrdp-xcon.8
+++ /dev/null
@@ -1,14 +0,0 @@
-.TH "xrdp-xcon" "8" "0.9.1" "xrdp team"
-.SH NAME
-xrdp\-xcon \- X11 event loop debugging helper for XRDP
-
-.SH SYNOPSIS
-.B xrdp\-xcon
-
-.SH DESCRIPTION
-.PP
-\fBxrdp\-xcon\fP is a X application, which just opens a connection to the X server and polls for events.
-It's pretty useless.
-
-.SH SEE ALSO
-.BR xev (1).
diff --git a/docs/man/xrdp.8 b/docs/man/xrdp.8.in
index f838c203..d8025d01 100644
--- a/docs/man/xrdp.8
+++ b/docs/man/xrdp.8.in
@@ -1,4 +1,4 @@
-.TH "xrdp" "8" "0.9.1" "xrdp team" ""
+.TH "xrdp" "8" "@PACKAGE_VERSION@" "xrdp team" ""
.SH "NAME"
\fBxrdp\fR \- a Remote Desktop Protocol (RDP) server
@@ -7,34 +7,34 @@ xrdp [ \-\-nodaemon | \-\-kill | \-\-help ]
.SH "DESCRIPTION"
\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.
It can also be used as a VNC\->RDP bridge.
.SH "OPTIONS"
-.TP
-\fB\-n\fR, \fB\-\-nodaemon\fR
+.TP
+\fB\-n\fR, \fB\-\-nodaemon\fR
Starts \fBxrdp\fR in foreground instead of starting it as a daemon.
-.TP
+.TP
\fB\-k\fR, \fB\-\-kill\fR
Kills running \fBxrdp\fR daemon.
-.TP
+.TP
\fB\-h\fR, \fB\-\-help\fR
Output help information and exit.
.SH "FILES"
-${XRDP_BIN_DIR}/xrdp
-.br
-${XRDP_CFG_DIR}/xrdp.ini
-.br
-${XRDP_LOG_DIR}/xrdp.log
-.br
-${XRDP_PID_DIR}/xrdp.pid
+@bindir@/xrdp
+.br
+@sysconfdir@/xrdp/xrdp.ini
+.br
+@localstatedir@/log/xrdp.log
+.br
+@localstatedir@/run/xrdp.pid
.SH "AUTHORS"
Jay Sorg <jsorg71@users.sourceforge.net>
-.br
+.br
Simone Fedele <ilsimo@users.sourceforge.net>
.SH "SEE ALSO"
diff --git a/docs/man/xrdp.ini.5 b/docs/man/xrdp.ini.5.in
index c202b01a..5a06c7f4 100644
--- a/docs/man/xrdp.ini.5
+++ b/docs/man/xrdp.ini.5.in
@@ -1,4 +1,4 @@
-.TH "xrdp.ini" "5" "0.9.1" "xrdp team" ""
+.TH "xrdp.ini" "5" "@PACKAGE_VERSION@" "xrdp team" ""
.SH "NAME"
\fBxrdp.ini\fR \- Configuration file for \fBxrdp\fR(8)
@@ -54,7 +54,7 @@ If set to \fB1\fR, \fBtrue\fR or \fByes\fR this option enables compression of bu
.TP
\fBkey_file\fP=\fI/path/to/private_key\fP
Set location of TLS certificate and private key. They must be written in PEM format.
-If not specified, defaults to \fB${XRDP_CFG_DIR}/cert.pem\fP, \fB${XRDP_CFG_DIR}/key.pem\fP.
+If not specified, defaults to \fB@sysconfdir@/xrdp/cert.pem\fP, \fB@sysconfdir@/xrdp/key.pem\fP.
This parameter is effective only if \fBsecurity_layer\fP is set to \fBtls\fP or \fBnegotiate\fP.
@@ -206,8 +206,8 @@ The highest value is 255 (hex FF).
The following parameters can be used in the \fB[Logging]\fR section:
.TP
-\fBLogFile\fR=\fI${SESMAN_LOG_DIR}/sesman.log\fR
-This options contains the path to logfile. It can be either absolute or relative, and the default is \fI${SESMAN_LOG_DIR}/sesman.log\fR
+\fBLogFile\fR=\fI@localstatedir@/log/sesman.log\fR
+This options contains the path to logfile. It can be either absolute or relative.\fR
.TP
\fBLogLevel\fR=\fIlevel\fR
@@ -320,7 +320,7 @@ port=\-1
.fi
.SH "FILES"
-${XRDP_CFG_DIR}/xrdp.ini
+@sysconfdir@/xrdp/xrdp.ini
.SH "SEE ALSO"
.BR xrdp (8),