diff options
Diffstat (limited to 'mac/make-package')
| -rwxr-xr-x | mac/make-package | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mac/make-package b/mac/make-package index 5529d8811e4..472df36c36b 100755 --- a/mac/make-package +++ b/mac/make-package | |||
| @@ -313,13 +313,15 @@ if test "$with_app" == "yes"; then | |||
| 313 | fi | 313 | fi |
| 314 | fi | 314 | fi |
| 315 | 315 | ||
| 316 | compver=powerpc-apple-darwin`uname -r` | ||
| 317 | |||
| 316 | if test "$self_contained" = "yes"; then | 318 | if test "$self_contained" = "yes"; then |
| 317 | # Move shared files down to Resources directory | 319 | # Move shared files down to Resources directory |
| 318 | mv $installprefix/share/emacs/$version/* $installprefix | 320 | mv $installprefix/share/emacs/$version/* $installprefix |
| 319 | rm -rf $installprefix/share | 321 | rm -rf $installprefix/share |
| 320 | # These directories might remain in Resources | 322 | # These directories might remain in Resources |
| 321 | mv $installprefix/bin $installprefix/../MacOS/bin | 323 | mv $installprefix/bin $installprefix/../MacOS/bin |
| 322 | mv $installprefix/libexec $installprefix/../MacOS/libexec | 324 | mv $installprefix/libexec/emacs/$version/$compver $installprefix/../MacOS/libexec |
| 323 | # Make the application binary a hard link | 325 | # Make the application binary a hard link |
| 324 | rm $installprefix/../MacOS/Emacs | 326 | rm $installprefix/../MacOS/Emacs |
| 325 | ln $installprefix/../MacOS/bin/emacs $installprefix/../MacOS/Emacs | 327 | ln $installprefix/../MacOS/bin/emacs $installprefix/../MacOS/Emacs |