Mercurial > emacs
diff Makefile.in @ 49090:fc1853b3e3dd
* 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
author | Steven Tamm <steventamm@mac.com> |
---|---|
date | Tue, 07 Jan 2003 05:46:31 +0000 |
parents | 0c6ae1df6eb6 |
children | 6dc041df7e02 |
line wrap: on
line diff
--- a/Makefile.in Tue Jan 07 01:26:24 2003 +0000 +++ b/Makefile.in Tue Jan 07 05:46:31 2003 +0000 @@ -141,6 +141,9 @@ # 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_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;