* 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)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 5 Jan 2025 08:25:37 +0000 (09:25 +0100)
INSTALL

diff --git a/INSTALL b/INSTALL
index d2705d3a44da8fe2c7620cfbb14cd9635dd2296c..8580ad7003dc6eede46f8466ee2c81a1725f1272 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -671,6 +671,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.