aboutsummaryrefslogtreecommitdiffstats
path: root/mac/make-package
diff options
context:
space:
mode:
authorSteven Tamm <[email protected]>2003-01-07 05:50:36 +0000
committerSteven Tamm <[email protected]>2003-01-07 05:50:36 +0000
commit77a4e329cda4fa53e4ebae2ae0c4f1e515d08893 (patch)
treef87bb995576646a6496810415e204e77c9372f1b /mac/make-package
parent52cd7d02cc68d7dccc2d98be9f0f0fa70c083668 (diff)
* 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/make-package')
-rwxr-xr-xmac/make-package15
1 files changed, 9 insertions, 6 deletions
diff --git a/mac/make-package b/mac/make-package
index d6e0b66cc9..c6639eee56 100755
--- a/mac/make-package
+++ b/mac/make-package
@@ -270,16 +270,23 @@ if test "$self_contained" = "yes"; then
installprefix=$tempparentfull/$appsdir/$emapp/Contents/Resources
fi
+
+make_options="prefix=${installprefix} $make_options"
+
+if test "$with_app" = "yes"; then
+ make_options="carbon_appdir=${tempparentfull}/Applications $make_options"
+fi
+
## Make bootstrap if .elc files are missing from distribution
if [ ! -f ${srcdir}/lisp/abbrev.elc ]; then
echo "Required .elc files missing; making bootstrap..."
- if ! (cd ${builddir}; make bootstrap prefix=$installprefix $make_options); then
+ if ! (cd ${builddir}; make bootstrap $make_options); then
echo "Make bootstrap failed... Aborting make-package."
exit 2
fi
fi
-if ! (cd ${builddir}; make install prefix=$installprefix $make_options); then
+if ! (cd ${builddir}; make install $make_options); then
echo "Make failed... Aborting make-package."
exit 1
fi
@@ -294,10 +301,6 @@ if test "$with_app" == "yes"; then
echo "Creating Emacs.app application"
tempappdir=${tempparentfull}${appsdir}
tempemapp=${tempappdir}/${emapp}/Contents/MacOS/Emacs
- mkdir ${tempappdir}
-
- ## Copy Emacs application
- cp -r ${builddir}/mac/Emacs.app ${tempappdir}
## Delete any CVS files
find ${tempappdir} -name "CVS" -type d -exec rm -rf {} \;