Place libexec executables directly under the Contents/MacOS/libexec if

the application is self-contained.
This commit is contained in:
Steven Tamm 2003-04-05 03:11:36 +00:00
parent 0ed2c9b6d5
commit afc9c9e4a2
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-04-04 Steven Tamm <steventamm@mac.com>
* make-package: Place libexec executables directly under the
Contents/MacOS/libexec if the application is self-contained
2003-04-01 Kim F. Storm <storm@cua.dk>
* makefile.MPW (frame.c.x): Add dependency on BLOCKINPUT_H_GROUP.

View file

@ -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