From 740879dce617238397a66693aec6ac9d4d1547fd Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 4 Dec 2017 09:14:13 -0500 Subject: [PATCH] doc/README: fix the documentation for the new build/install system. --- doc/README | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/doc/README b/doc/README index 7158d06..d05e600 100644 --- a/doc/README +++ b/doc/README @@ -31,6 +31,10 @@ The files: should be fed into the "xmodmap" utility that is part of X.org and which is provided by x11-apps/xmodmap on Gentoo. + You must pass "--enable-Xmodmap" to the ./configure script to + install this file. + + == Installation == Either of those files can be loaded manually regardless of where they @@ -39,12 +43,9 @@ live; for example, $ loadkeys /path/to/console.map $ xmodmap /path/to/Xmodmap -The "install-console" and "install-xorg" makefile targets will install -both files to $(PREFIX)/share/emacs-keys by default. The value of the -PREFIX variable defaults to /usr/local but can be specified to make; -for example, - - $ make PREFIX=/usr install-console +The Makefile will install console.map to $(datadir)/emacs-keys by +default. If you pass "--enable-Xmodmap" to the ./configure script, +then the Makefile will install Xmodmap to the same location. For the Xmodmap file, that's about as good as it gets. To use it, you will typically add something like the following to your ~/.xinitrc, @@ -58,7 +59,8 @@ will typically add something like the following to your ~/.xinitrc, The console map on the other hand can be loaded by OpenRC, which starts a "keymaps" service at boot time. The configuration file for -that service is usually located at /etc/conf.d/keymaps, and if you set +that service is usually located at /etc/conf.d/keymaps, and if you +set, for example, extended_keymaps="/usr/share/emacs-keys/console.map" -- 2.44.2