[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Missing info and man files in standalone Emacs.app (macosx)
From: |
Piet van Oostrum |
Subject: |
Missing info and man files in standalone Emacs.app (macosx) |
Date: |
Sat, 27 Jan 2007 12:37:28 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (darwin) |
I noticed that a stand-alone Emacs application in Mac OS X doesn't contain
the info and man pages. This is in emacs installed from the 22.0.92 and
22.0.93 pretest tarballs and in the cvs version. The files are
inadvertantly removed from the built version by the make-package script.
The following patch will solve this:
diff -u /Volumes/TEMP/MISC/Downloads/emacs/emacs-22.0.93/mac/make-package.\~1\~
/Volumes/TEMP/MISC/Downloads/emacs/emacs-22.0.93/mac/make-package
--- /Volumes/TEMP/MISC/Downloads/emacs/emacs-22.0.93/mac/make-package.~1~
2007-01-21 19:34:38.000000000 +0100
+++ /Volumes/TEMP/MISC/Downloads/emacs/emacs-22.0.93/mac/make-package
2007-01-25 08:53:49.000000000 +0100
@@ -330,6 +330,8 @@
if test "$self_contained" = "yes"; then
# Move shared files down to Resources directory
mv $installprefix/share/emacs/$version/* $installprefix
+ mv $installprefix/share/info $installprefix
+ mv $installprefix/share/man $installprefix
rm -rf $installprefix/share
# These directories might remain in Resources
mv $installprefix/bin $installprefix/../MacOS/bin
There is another problem with the info files, however. The mac startup code
in mac.c sets the environment variable INFOPATH to the location of the info
files in the application bundle (.../Contents/Resources/info). However this
causes the Info-directory-list variable to get only that directory as
value, disregarding any other info directories in the system, such as
/usr/local/share/info. I think it would be more useful to initialize
configure-info-directory (Vconfigure_info_directory) with that value
instead of the environment variable.
--
Piet van Oostrum <address@hidden>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: address@hidden
- Missing info and man files in standalone Emacs.app (macosx),
Piet van Oostrum <=