[PATCH proxymngr] man: Set correct config file location in man page
Egbert Eich
eich at freedesktop.org
Thu Jan 3 10:40:55 PST 2013
Change the config file location from a hard coded path to what is
set during build.
Signed-off-by: Egbert Eich <eich at freedesktop.org>
---
Makefile.am | 3 +++
proxymngr.man | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 80f149d..4877985 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -59,6 +59,9 @@ appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
EXTRA_DIST += $(appman_PRE)
CLEANFILES += $(appman_DATA)
+# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
+MAN_SUBSTS += -e 's|__configdir__|$(CONFIG_DIR)|g'
+
SUFFIXES = .$(APP_MAN_SUFFIX) .man
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
diff --git a/proxymngr.man b/proxymngr.man
index 0bb1ea5..f5d35bb 100644
--- a/proxymngr.man
+++ b/proxymngr.man
@@ -75,7 +75,7 @@ requests are received and proxies are started.
The proxy manager maintains a local configuration file describing the proxy
services available. This configuration file is installed
in
-.I __projectroot__/lib/X11/proxymngr/pmconfig
+.I __configdir__
during the installation
of proxymngr. The location of the configuration file can be overwritten using
the \fB\-config\fP command line option.
--
1.7.7
More information about the xorg-devel
mailing list