aboutsummaryrefslogtreecommitdiffstats
path: root/mac
diff options
context:
space:
mode:
authorSteven Tamm2003-01-07 05:50:36 +0000
committerSteven Tamm2003-01-07 05:50:36 +0000
commit77a4e329cda4fa53e4ebae2ae0c4f1e515d08893 (patch)
treef87bb995576646a6496810415e204e77c9372f1b /mac
parent52cd7d02cc68d7dccc2d98be9f0f0fa70c083668 (diff)
downloademacs-77a4e329cda4fa53e4ebae2ae0c4f1e515d08893.tar.gz
emacs-77a4e329cda4fa53e4ebae2ae0c4f1e515d08893.zip
* INSTALL: Added documentation about --enable-carbon-app and
changed documentation concerning Emacs.app location Removed some of the documentation about make-package that isn't needed Changed comment about requiring root permission to install to saying that it might be necessary depending on where you install Refered to /usr caveat in more places * make-package (make_options): Use new carbon_appdir option to specify directory to install Application and lets the makefile install
Diffstat (limited to 'mac')
-rw-r--r--mac/ChangeLog13
-rw-r--r--mac/INSTALL43
-rwxr-xr-xmac/make-package15
3 files changed, 47 insertions, 24 deletions
diff --git a/mac/ChangeLog b/mac/ChangeLog
index a86937d90d8..98639bf26c8 100644
--- a/mac/ChangeLog
+++ b/mac/ChangeLog
@@ -1,3 +1,16 @@
12003-01-07 Steven Tamm <steventamm@mac.com>
2
3 * INSTALL: Added documentation about --enable-carbon-app and
4 changed documentation concerning Emacs.app location
5 Removed some of the documentation about make-package that isn't
6 needed
7 Changed comment about requiring root permission to install to
8 saying that it might be necessary depending on where you install
9 Refered to /usr caveat in more places
10 * make-package (make_options): Use new carbon_appdir option to
11 specify directory to install Application and lets the makefile
12 install
13
12003-01-01 Steven Tamm <steventamm@mac.com> 142003-01-01 Steven Tamm <steventamm@mac.com>
2 15
3 * make-package: Now copies License and ReadMe files into the 16 * make-package: Now copies License and ReadMe files into the
diff --git a/mac/INSTALL b/mac/INSTALL
index 2f1a4d428ac..51b306c463b 100644
--- a/mac/INSTALL
+++ b/mac/INSTALL
@@ -19,11 +19,18 @@ You should be able to build Emacs on Mac OS X by typing the following
19commands at the top-level directory after the source distribution is 19commands at the top-level directory after the source distribution is
20un-tarred. 20un-tarred.
21 21
22 ./configure 22 ./configure --enable-carbon-app
23 make 23 make
24 make install 24 make install
25 25
26The last step must be performed as root. 26The last step may fail if you do not have permissions to install. If
27you try to install into /usr (with ./configure --prefix=/usr), then you
28must install as root using the sudo command. However, it is not
29recommended; see the notes section below for more details.
30
31The --enable-carbon-app specifies that the carbon GUI application
32should be installed into /Application. If you want it to install in a
33different location, specify --enable-carbon-app=<mydir>
27 34
28If you have X Window installed on your Mac and you are building Emacs 35If you have X Window installed on your Mac and you are building Emacs
29to run under Carbon and not X Window, you need to type `./configure 36to run under Carbon and not X Window, you need to type `./configure
@@ -32,22 +39,24 @@ to run under Carbon and not X Window, you need to type `./configure
32You can type `make bootstrap' instead of `make' to rebuild everything, 39You can type `make bootstrap' instead of `make' to rebuild everything,
33including byte-compiling the Lisp files. 40including byte-compiling the Lisp files.
34 41
35If you have not installed the GNU texinfo package on your system, the 42If you are compiling on Mac OS X versions before 10.2 and have not
36build will complain that makeinfo cannot be found. Instructions for 43installed the GNU texinfo package on your system, the build will
37installing the GNU texinfo package are given below. Alternatively, 44complain that makeinfo cannot be found. Instructions for installing the
38you can type `make -k' instead of `make' and safely ignore the error 45GNU texinfo package are given below. Alternatively, you can type `make
39messages and use the existing info files. 46-k' instead of `make' and safely ignore the error messages and use the
47existing info files.
40 48
41After Emacs is installed, you can run it by typing `emacs -nw' from a 49After Emacs is installed, you can run it by typing `emacs -nw' from a
42terminal (make sure your path contains /usr/local/bin) or by 50terminal (make sure your path contains /usr/local/bin) or by
43double-clicking on mac/Emacs.app in the Finder. To start Emacs as a 51double-clicking on /Applications/Emacs.app in the Finder. To start
44GUI application from the terminal, the pathname to the executable in 52Emacs as a GUI application from the terminal, the pathname to the
45the bundle, i.e., 53executable in the bundle, i.e.,
46 54
47 .../emacs/mac/Emacs.app/Contents/MacOS/Emacs 55 /Application/Emacs.app/Contents/MacOS/Emacs
48 56
49must be typed to the shell to enable Emacs to locate its resources 57must be typed to the shell to enable Emacs to locate its resources
50correctly. 58correctly. You may want to create a symlink or alias to this path to
59quickly access both the terminal and GUI versions.
51 60
52If you are building Emacs to run on Mac OS X and X Window, you need to 61If you are building Emacs to run on Mac OS X and X Window, you need to
53create a directory containing statically-linked X libraries. 62create a directory containing statically-linked X libraries.
@@ -79,7 +88,8 @@ vt100|vt100-am|vt100am|dec vt100:\
79 :sc=\E7:rc=\E8:cs=\E[%i%d;%dr: 88 :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:
80----- 89-----
81 90
82To build the `info' files, you need to install the texinfo software. 91To build the `info' files in versions prior to Mac OS X 10.2, you need
92to install the texinfo software.
83 93
84To install from source, obtain texinfo-4.2.tar.gz from ftp.gnu.org or 94To install from source, obtain texinfo-4.2.tar.gz from ftp.gnu.org or
85a mirror. Un-tar it, enter its directory and type 95a mirror. Un-tar it, enter its directory and type
@@ -88,7 +98,7 @@ a mirror. Un-tar it, enter its directory and type
88 make 98 make
89 make install 99 make install
90 100
91The last step needs to be performed as root. 101The last step may need to be performed as root (sudo make install).
92 102
93You may also like to install ispell, which will allow you to use 103You may also like to install ispell, which will allow you to use
94ispell and flyspell-mode. To install ispell from source, you first 104ispell and flyspell-mode. To install ispell from source, you first
@@ -101,7 +111,7 @@ Un-tar it, enter its directory, type
101 make 111 make
102 make install 112 make install
103 113
104Again, the last step needs to be performed as root. Note that if you 114Again, the last step may need to be performed as root. Note that if you
105run `make check', the test for `pr' will fail. 115run `make check', the test for `pr' will fail.
106 116
107Get and un-tar ispell-3.2.06.tar.gz. Look for it here: 117Get and un-tar ispell-3.2.06.tar.gz. Look for it here:
@@ -142,9 +152,6 @@ options to user
142--prefix=DIR - Place the common emacs files in the given DIR. The 152--prefix=DIR - Place the common emacs files in the given DIR. The
143 default is /usr/local. See note below if placing 153 default is /usr/local. See note below if placing
144 in /usr 154 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 155--self-contained - Place the common emacs files inside the Emacs.app
149 itself. This makes the application trivial to 156 itself. This makes the application trivial to
150 uninstall and copy between computers. 157 uninstall and copy between computers.
diff --git a/mac/make-package b/mac/make-package
index d6e0b66cc94..c6639eee56c 100755
--- a/mac/make-package
+++ b/mac/make-package
@@ -270,16 +270,23 @@ if test "$self_contained" = "yes"; then
270 installprefix=$tempparentfull/$appsdir/$emapp/Contents/Resources 270 installprefix=$tempparentfull/$appsdir/$emapp/Contents/Resources
271fi 271fi
272 272
273
274make_options="prefix=${installprefix} $make_options"
275
276if test "$with_app" = "yes"; then
277 make_options="carbon_appdir=${tempparentfull}/Applications $make_options"
278fi
279
273## Make bootstrap if .elc files are missing from distribution 280## Make bootstrap if .elc files are missing from distribution
274if [ ! -f ${srcdir}/lisp/abbrev.elc ]; then 281if [ ! -f ${srcdir}/lisp/abbrev.elc ]; then
275 echo "Required .elc files missing; making bootstrap..." 282 echo "Required .elc files missing; making bootstrap..."
276 if ! (cd ${builddir}; make bootstrap prefix=$installprefix $make_options); then 283 if ! (cd ${builddir}; make bootstrap $make_options); then
277 echo "Make bootstrap failed... Aborting make-package." 284 echo "Make bootstrap failed... Aborting make-package."
278 exit 2 285 exit 2
279 fi 286 fi
280fi 287fi
281 288
282if ! (cd ${builddir}; make install prefix=$installprefix $make_options); then 289if ! (cd ${builddir}; make install $make_options); then
283 echo "Make failed... Aborting make-package." 290 echo "Make failed... Aborting make-package."
284 exit 1 291 exit 1
285fi 292fi
@@ -294,10 +301,6 @@ if test "$with_app" == "yes"; then
294 echo "Creating Emacs.app application" 301 echo "Creating Emacs.app application"
295 tempappdir=${tempparentfull}${appsdir} 302 tempappdir=${tempparentfull}${appsdir}
296 tempemapp=${tempappdir}/${emapp}/Contents/MacOS/Emacs 303 tempemapp=${tempappdir}/${emapp}/Contents/MacOS/Emacs
297 mkdir ${tempappdir}
298
299 ## Copy Emacs application
300 cp -r ${builddir}/mac/Emacs.app ${tempappdir}
301 ## Delete any CVS files 304 ## Delete any CVS files
302 find ${tempappdir} -name "CVS" -type d -exec rm -rf {} \; 305 find ${tempappdir} -name "CVS" -type d -exec rm -rf {} \;
303 306