summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorSteven Tamm <steventamm@mac.com>2003-01-07 05:46:31 +0000
committerSteven Tamm <steventamm@mac.com>2003-01-07 05:46:31 +0000
commit52cd7d02cc68d7dccc2d98be9f0f0fa70c083668 (patch)
tree2fbb43158aceb5664b96e62267afb4876d1e490c /Makefile.in
parentca2135af191408b1d7a7039f21ed9c931edc5250 (diff)
downloademacs-52cd7d02cc68d7dccc2d98be9f0f0fa70c083668.tar.gz
* configure.in: New option, --enable-carbon-app, to specify
that the application should be installed * Makefile.in (install-arch-dep): On Mac OS X, install the Emacs.app application if carbon-app is enabled
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 99671ad8a7e..85f2425c81f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -141,6 +141,9 @@ VPATH=@srcdir@
# Where to find the application default.
x_default_search_path=@x_default_search_path@
+# Location to install Emacs.app on Mac OS X
+carbon_appdir=@carbon_appdir@
+
# ==================== Emacs-specific directories ====================
# These variables hold the values Emacs will actually use. They are
@@ -365,6 +368,12 @@ install-arch-dep: mkdir
${INSTALL_DATA} lib-src/$$f ${archlibdir}/$$f; \
else true; fi ; \
done
+ if test "${carbon_appdir}" != ""; then \
+ umask 022; mkdir -p ${carbon_appdir}/Emacs.app; \
+ (cd mac/Emacs.app; tar -chf - . ) | \
+ (cd ${carbon_appdir}/Emacs.app; umask 022; tar -xvf - \
+ && cat > /dev/null) || exit 1; \
+ fi
### Install the files that are machine-independent.
### Most of them come straight from the distribution;