diff mac/make-package @ 50450:33c5c2bf40c2

Place libexec executables directly under the Contents/MacOS/libexec if the application is self-contained.
author Steven Tamm <steventamm@mac.com>
date Sat, 05 Apr 2003 03:11:36 +0000
parents 23a1cea22d13
children efd65678bb08
line wrap: on
line diff
--- a/mac/make-package	Sat Apr 05 02:13:44 2003 +0000
+++ b/mac/make-package	Sat Apr 05 03:11:36 2003 +0000
@@ -313,13 +313,15 @@
   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