diff options
| author | Steven Tamm | 2003-04-05 03:11:36 +0000 |
|---|---|---|
| committer | Steven Tamm | 2003-04-05 03:11:36 +0000 |
| commit | afc9c9e4a2cc3864cd9251ef15ff4a5e082069cc (patch) | |
| tree | 00cebd87661bee01add21a724da380c605596d80 /mac/make-package | |
| parent | 0ed2c9b6d597f69cad6ac7a8d350f94a974920b7 (diff) | |
| download | emacs-afc9c9e4a2cc3864cd9251ef15ff4a5e082069cc.tar.gz emacs-afc9c9e4a2cc3864cd9251ef15ff4a5e082069cc.zip | |
Place libexec executables directly under the Contents/MacOS/libexec if
the application is self-contained.
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 |