aboutsummaryrefslogtreecommitdiffstats
path: root/mac/make-package
diff options
context:
space:
mode:
authorSteven Tamm <[email protected]>2003-04-05 03:11:36 +0000
committerSteven Tamm <[email protected]>2003-04-05 03:11:36 +0000
commitafc9c9e4a2cc3864cd9251ef15ff4a5e082069cc (patch)
tree00cebd87661bee01add21a724da380c605596d80 /mac/make-package
parent0ed2c9b6d597f69cad6ac7a8d350f94a974920b7 (diff)
Place libexec executables directly under the Contents/MacOS/libexec if
the application is self-contained.
Diffstat (limited to 'mac/make-package')
-rwxr-xr-xmac/make-package4
1 files changed, 3 insertions, 1 deletions
diff --git a/mac/make-package b/mac/make-package
index 5529d8811e..472df36c36 100755
--- a/mac/make-package
+++ b/mac/make-package
@@ -313,13 +313,15 @@ if test "$with_app" == "yes"; then
fi
fi
+compver=powerpc-apple-darwin`uname -r`
+
if test "$self_contained" = "yes"; then
# Move shared files down to Resources directory
mv $installprefix/share/emacs/$version/* $installprefix
rm -rf $installprefix/share
# These directories might remain in Resources
mv $installprefix/bin $installprefix/../MacOS/bin
- mv $installprefix/libexec $installprefix/../MacOS/libexec
+ mv $installprefix/libexec/emacs/$version/$compver $installprefix/../MacOS/libexec
# Make the application binary a hard link
rm $installprefix/../MacOS/Emacs
ln $installprefix/../MacOS/bin/emacs $installprefix/../MacOS/Emacs