diff options
| author | Charles A. Roelli | 2017-07-10 21:08:14 +0200 |
|---|---|---|
| committer | Charles A. Roelli | 2017-07-23 16:48:33 +0200 |
| commit | 2c87aab57946b95d67b664259f30e64468d08544 (patch) | |
| tree | b0236e5ba254f465ee0876ef3ff9ab48deeae800 /nextstep | |
| parent | e1d1aa69e8cce480f51ebf81d5b0bb55c7ad4ec8 (diff) | |
| download | emacs-2c87aab57946b95d67b664259f30e64468d08544.tar.gz emacs-2c87aab57946b95d67b664259f30e64468d08544.zip | |
Enable GUI Emacs without 'make install' on macOS (Bug #27645)
* nextstep/INSTALL: Correct it, and mention that Emacs can be run
from 'src/emacs'.
* src/nsterm.m (applicationDidFinishLaunching:): When Emacs is
launched outside of a macOS application bundle, change its
activation policy from the default 'prohibited' to 'regular'.
; * etc/NEWS: Mention the change on macOS.
Diffstat (limited to 'nextstep')
| -rw-r--r-- | nextstep/INSTALL | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/nextstep/INSTALL b/nextstep/INSTALL index 799cd4d866a..b7e84e018ee 100644 --- a/nextstep/INSTALL +++ b/nextstep/INSTALL | |||
| @@ -21,15 +21,23 @@ In the top-level directory, use: | |||
| 21 | 21 | ||
| 22 | (On macOS, --with-ns is enabled by default.) | 22 | (On macOS, --with-ns is enabled by default.) |
| 23 | 23 | ||
| 24 | This will compile all the files, but emacs will not be able to be run except | 24 | Then run: |
| 25 | in -nw (terminal) mode. | ||
| 26 | 25 | ||
| 27 | In order to run Emacs.app, you must run: | 26 | make |
| 27 | |||
| 28 | This will compile all the files. | ||
| 29 | |||
| 30 | In order to run Emacs, you must run: | ||
| 31 | |||
| 32 | src/emacs | ||
| 33 | |||
| 34 | In order to install Emacs, you must run: | ||
| 28 | 35 | ||
| 29 | make install | 36 | make install |
| 30 | 37 | ||
| 31 | This will assemble the app in nextstep/Emacs.app (i.e., the --prefix | 38 | This will assemble the app in nextstep/Emacs.app (i.e., the --prefix |
| 32 | argument has no effect in this case). | 39 | argument has no effect in this case). You can then move the Emacs.app |
| 40 | bundle to a location of your choice. | ||
| 33 | 41 | ||
| 34 | If you pass the --disable-ns-self-contained option to configure, the lisp | 42 | If you pass the --disable-ns-self-contained option to configure, the lisp |
| 35 | files will be installed under whatever 'prefix' is set to (defaults to | 43 | files will be installed under whatever 'prefix' is set to (defaults to |