diff options
| author | Steven Tamm | 2002-12-08 18:29:14 +0000 |
|---|---|---|
| committer | Steven Tamm | 2002-12-08 18:29:14 +0000 |
| commit | b3d08fe6be97d5ccb351ac54aa826cbf68431ea4 (patch) | |
| tree | 1b262267b7dd0180bc3421846b434b3d099c08b7 /mac | |
| parent | 56ab7fbb5b698d5f1a819573f08a78540317720c (diff) | |
| download | emacs-b3d08fe6be97d5ccb351ac54aa826cbf68431ea4.tar.gz emacs-b3d08fe6be97d5ccb351ac54aa826cbf68431ea4.zip | |
Added description of make-package
Diffstat (limited to 'mac')
| -rw-r--r-- | mac/INSTALL | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/mac/INSTALL b/mac/INSTALL index 98510138932..2f1a4d428ac 100644 --- a/mac/INSTALL +++ b/mac/INSTALL | |||
| @@ -122,6 +122,43 @@ typed | |||
| 122 | 122 | ||
| 123 | Run `make' and `make install', the latter as root. | 123 | Run `make' and `make install', the latter as root. |
| 124 | 124 | ||
| 125 | * BUILDING BINARY DISTRIBUTIONS FOR MAC OS X | ||
| 126 | |||
| 127 | If you are intending to build a binary distribution of Emacs, there is | ||
| 128 | a script that will greatly simplify the process. It is called | ||
| 129 | make-package and it is contained in this directory. It will generate | ||
| 130 | a disc image containing a installer bundle. By default the installer | ||
| 131 | will place the emacs common files in /usr/local/* and the carbon | ||
| 132 | application in /Applications. Typical usage would be | ||
| 133 | |||
| 134 | ./make-package | ||
| 135 | |||
| 136 | After running, an compressed disk image of the installer will be placed | ||
| 137 | in a file called EmacsInstaller.dmg. This file can be then distributed | ||
| 138 | to whomever would like a binary distribution. Here are the common | ||
| 139 | options to user | ||
| 140 | |||
| 141 | --with-x - Use the X11 GUI instead of the Carbon GUI. | ||
| 142 | --prefix=DIR - Place the common emacs files in the given DIR. The | ||
| 143 | default is /usr/local. See note below if placing | ||
| 144 | in /usr | ||
| 145 | --without-app - Do not install the carbon gui in /Applications | ||
| 146 | This will be commonly used for terminal-only or X | ||
| 147 | windows installs. | ||
| 148 | --self-contained - Place the common emacs files inside the Emacs.app | ||
| 149 | itself. This makes the application trivial to | ||
| 150 | uninstall and copy between computers. | ||
| 151 | --app-symlink - Use a symlink inside the Application to the | ||
| 152 | $prefix/bin/emacs to reduce disk space. Note, this | ||
| 153 | option may removed in the future. | ||
| 154 | |||
| 155 | If you are intending to build a binary distribution for X windows, you | ||
| 156 | will probably want to follow the directions above to create static | ||
| 157 | X11R6 libraries and run the make-package script like this | ||
| 158 | |||
| 159 | ./make-package --with-x -C,--x-libraries=/usr/X11R6/libstatic | ||
| 160 | |||
| 161 | For usage of other options, use the --help option. | ||
| 125 | 162 | ||
| 126 | * BUILDING EMACS ON MAC OS 8/9 | 163 | * BUILDING EMACS ON MAC OS 8/9 |
| 127 | 164 | ||
| @@ -166,7 +203,7 @@ dialog and include the Profiler PPC.Lib library. | |||
| 166 | 203 | ||
| 167 | * NOTES | 204 | * NOTES |
| 168 | 205 | ||
| 169 | Emacs should build and run on a PowerMac running Mac OS 8.6 - 10.1. | 206 | Emacs should build and run on a PowerMac running Mac OS 8.6 - 10.2. |
| 170 | 207 | ||
| 171 | You will need around 100 MB of disk space for the source files and | 208 | You will need around 100 MB of disk space for the source files and |
| 172 | intermediate files. | 209 | intermediate files. |
| @@ -185,6 +222,10 @@ NT, define GNU_ICON in mac/src/Emacs.r. Currently Emacs uses a | |||
| 185 | generic application icon on the Mac OS X. A better looking one is | 222 | generic application icon on the Mac OS X. A better looking one is |
| 186 | coming soon. | 223 | coming soon. |
| 187 | 224 | ||
| 225 | On Mac OS X, installing the emacs files in /usr can cause issues with | ||
| 226 | system sofware updates possibly overwriting the distribution. If this | ||
| 227 | is a concern, as it should be in normal binary distributions, please | ||
| 228 | use /usr/local as the prefix for installation. | ||
| 188 | 229 | ||
| 189 | Enjoy! | 230 | Enjoy! |
| 190 | 231 | ||