From: Michael Orlitzky Date: Mon, 4 Dec 2017 14:14:13 +0000 (-0500) Subject: doc/README: fix the documentation for the new build/install system. X-Git-Tag: 0.0.2~1 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=740879dce617238397a66693aec6ac9d4d1547fd;p=emacs-keys.git doc/README: fix the documentation for the new build/install system. --- 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"