From 4e07066c12f2e2ef69ec4e56f702452c1216c035 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Thu, 19 May 2011 09:29:10 +0200 Subject: man: Set correct config file location in man page Change the config file location from a hard coded path to what is set during build. Signed-off-by: Egbert Eich Reviewed-by: Alan Coopersmith --- Makefile.am | 3 +++ proxymngr.man | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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. -- cgit v1.2.3