diff options
| author | Karoly Lorentey | 2005-10-23 22:47:29 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-10-23 22:47:29 +0000 |
| commit | 6dc59f76f49a35140b3bbdeb9c495609f8e55f3a (patch) | |
| tree | 3694df29f4ce4ab94220bd377cd0d32b64f98b0a /mac | |
| parent | a095475c5f316eed7b27f6e0e6df52dae53dc2a5 (diff) | |
| parent | c286104c51b4510ead8e92d265a84aa661ddbf97 (diff) | |
| download | emacs-6dc59f76f49a35140b3bbdeb9c495609f8e55f3a.tar.gz emacs-6dc59f76f49a35140b3bbdeb9c495609f8e55f3a.zip | |
Merged from miles@gnu.org--gnu-2005 (patch 610-614)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-610
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-611
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-612
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-613
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-614
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-429
Diffstat (limited to 'mac')
| -rw-r--r-- | mac/ChangeLog | 5 | ||||
| -rwxr-xr-x | mac/make-package | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/mac/ChangeLog b/mac/ChangeLog index 6ce6f98bc84..f4a955a7c0f 100644 --- a/mac/ChangeLog +++ b/mac/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-10-20 Bryan D. O'Connor <bryan@lunch.org> (tiny change) | ||
| 2 | |||
| 3 | * make-package: Add a --compressed-dist option to compress info | ||
| 4 | files and .el files that have been byte-compiled. It defaults to "no". | ||
| 5 | |||
| 1 | 2005-09-24 Eli Zaretskii <eliz@gnu.org> | 6 | 2005-09-24 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * INSTALL (NOTES): Update the list of versions of MacOS on which | 8 | * INSTALL (NOTES): Update the list of versions of MacOS on which |
diff --git a/mac/make-package b/mac/make-package index bef6aa9b2de..85c6646c5da 100755 --- a/mac/make-package +++ b/mac/make-package | |||
| @@ -55,6 +55,7 @@ comp_diskimage=no | |||
| 55 | self_contained=no | 55 | self_contained=no |
| 56 | app_symlink=no | 56 | app_symlink=no |
| 57 | full_dist=yes | 57 | full_dist=yes |
| 58 | compressed_dist=no | ||
| 58 | build_in_place=no | 59 | build_in_place=no |
| 59 | keep_directory=no | 60 | keep_directory=no |
| 60 | 61 | ||
| @@ -94,6 +95,8 @@ do | |||
| 94 | with_app=no ;; | 95 | with_app=no ;; |
| 95 | --without-full-dist | -without-full-dist | -no-full-dist | -no-full) | 96 | --without-full-dist | -without-full-dist | -no-full-dist | -no-full) |
| 96 | full_dist=no ;; | 97 | full_dist=no ;; |
| 98 | --compressed-dist) | ||
| 99 | compressed_dist=yes ;; | ||
| 97 | --self-contained | -self-contained | --with-self-contained-app | -sc) | 100 | --self-contained | -self-contained | --with-self-contained-app | -sc) |
| 98 | self_contained=yes ;; | 101 | self_contained=yes ;; |
| 99 | -app-symlink | --app-symlink | -symlink | --symlink | --asl) | 102 | -app-symlink | --app-symlink | -symlink | --symlink | --asl) |
| @@ -138,6 +141,7 @@ Options: | |||
| 138 | --without-app. | 141 | --without-app. |
| 139 | --without-full-dist Do not include all the .el files in the distribution. | 142 | --without-full-dist Do not include all the .el files in the distribution. |
| 140 | This is discouraged except if disk space is critical. | 143 | This is discouraged except if disk space is critical. |
| 144 | --compressed-dist Compress .el and info files in the distribution. | ||
| 141 | --app-symlink Have the Emacs.app executable be a symlink | 145 | --app-symlink Have the Emacs.app executable be a symlink |
| 142 | to the install in [prefix]/bin/emacs and have | 146 | to the install in [prefix]/bin/emacs and have |
| 143 | the emacs executable link to emacs-${version} | 147 | the emacs executable link to emacs-${version} |
| @@ -298,6 +302,14 @@ if test "$full_dist" == "no"; then | |||
| 298 | find $sharedir/lisp $sharedir/leim -name "*.elc" -print | sed 's|\(.*\)\.elc$|/bin/rm -f \1.el|' | /bin/sh -s | 302 | find $sharedir/lisp $sharedir/leim -name "*.elc" -print | sed 's|\(.*\)\.elc$|/bin/rm -f \1.el|' | /bin/sh -s |
| 299 | fi | 303 | fi |
| 300 | 304 | ||
| 305 | if test "$compressed_dist" == "yes" -a "$full_dist" == "yes"; then | ||
| 306 | echo "Compressing .el files" | ||
| 307 | sharedir=$installprefix/share/emacs/$version | ||
| 308 | find $sharedir/lisp $sharedir/leim -name "*.elc" -print | sed 's|\(.*\)\.elc$|/usr/bin/gzip -9 \1.el|' | /bin/sh -s | ||
| 309 | echo "Compressing info files" | ||
| 310 | find $installprefix/info -type f ! -name dir -print | sed 's|\(.*\)$|/usr/bin/gzip -9 \1|' | /bin/sh -s | ||
| 311 | fi | ||
| 312 | |||
| 301 | if test "$with_app" == "yes"; then | 313 | if test "$with_app" == "yes"; then |
| 302 | echo "Creating Emacs.app application" | 314 | echo "Creating Emacs.app application" |
| 303 | tempappdir=${tempparentfull}${appsdir} | 315 | tempappdir=${tempparentfull}${appsdir} |