]> git.eshelyaron.com Git - emacs.git/commitdiff
* INSTALL: Add advice how to invoke 'make install'. (Bug#74400)
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 5 Jan 2025 08:25:37 +0000 (09:25 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 12 Jan 2025 10:58:55 +0000 (11:58 +0100)
(cherry picked from commit 505c1123e18a8a710fc60e05a4c870497bf580f4)

INSTALL

diff --git a/INSTALL b/INSTALL
index 8182ac3f5191b111aaeee8d5a0720bd4a3000cab..14dea1d4a46ef0b0eb5b40ef6ec8b7ab30bd3c77 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -667,6 +667,12 @@ for its Lisp files by giving values for 'make' variables as part of
 the command.  See the section below called 'MAKE VARIABLES' for more
 information on this.
 
+If the directories where 'make install' installs files are not writable
+by your user, you might prefer invoking 'make && sudo make install'
+instead.  This first invokes 'make' to make sure all the required files
+are rebuilt with your user's permissions and ownership, and then
+installs them using the permissions of root.
+
 7) Check the file 'dir' in your site's info directory (usually
 /usr/local/share/info) to make sure that it has a menu entry for the
 Emacs info files.