Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
50449:f85be9da34a2 | 50450:33c5c2bf40c2 |
---|---|
311 rm ${tempemapp} | 311 rm ${tempemapp} |
312 ln -s ${prefix}/bin/${emacsname} ${tempemapp} | 312 ln -s ${prefix}/bin/${emacsname} ${tempemapp} |
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 |
326 fi | 328 fi |
327 | 329 |