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
commitce779855f4b3a68feef9b12751d2e344ec46c8f1 (patch)
treed7735798243fbe7c4a04e94dd08ee1b7c448edfc /Makefile.in
parenta29edf86a5c9e4ee0160424055006bc7c67a7ddc (diff)
downloademacs-ce779855f4b3a68feef9b12751d2e344ec46c8f1.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;