summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-02-03 07:24:22 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-02-05 07:35:27 +1000
commit31b90ee4ffc774e0da540277907fc5540c0b012c (patch)
treec908bae19b378e647b7688f5da689dddc95c43f1
parente3e6e938535532bfad175c1635256ab7fb3ac943 (diff)
man: replace default include directory with the one from configure
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--man/Makefile.am2
-rw-r--r--man/xkbcomp.man2
2 files changed, 3 insertions, 1 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index f17336a..953e84c 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -8,5 +8,7 @@ CLEANFILES = $(appman_DATA)
SUFFIXES = .$(APP_MAN_SUFFIX) .man
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
+MAN_SUBSTS += -e 's|__xkbconfigroot__|$(XKBCONFIGROOT)|'
+
.man.$(APP_MAN_SUFFIX):
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
diff --git a/man/xkbcomp.man b/man/xkbcomp.man
index 667c985..47e516a 100644
--- a/man/xkbcomp.man
+++ b/man/xkbcomp.man
@@ -63,7 +63,7 @@ Show available options.
Specifies top-level directories to be searched for files included by the
keymap description. After all directories specified by \-I options
have been searched, the current directory and finally, the default
-xkb directory (usually __projectroot__/lib/X11/xkb) will be searched.
+xkb directory __xkbconfigroot__ will be searched.
.sp
To prevent the current and default directories from being searched,
use the \-I option alone (i.e. without a directory), before any \-I