On Jul 20, 2008, at 7:00 AM, David Reitter wrote:

> On 20 Jul 2008, at 06:41, Peter Dyballa wrote:
>>>
>>> A new problem exists:
>>
>> The Emacs.app/Contents/Resources tree does not exist. This can be my
>> fault: I renamed the previously created Emacs.app directory to save
>> its contents!
>
> You need to "make install".
>
> It would be nice if a "make" was enough, and if the creation of the  
> Emacs.app bundle was incremental, i.e. if one didn't have to wait  
> until everything is zipped up and re-copied into the .app.  This  
> would shorten turn-around times.  I don't know enough about  
> Makefiles to do this quickly, though.


After an initial "make install" a simple run of "make" in src will  
recompile and redump emacs, then copy this binary into the bundle.   
Changes in most lisp files that are preloaded will be picked up this  
way too.  If you change a different lisp file, recompile it manually  
(M-x byte-compile-file) and copy that into the bundle (cp lisp/foo.elc  
nextstep/Emacs.app/Contents/Resources/lisp/).  There should never be a  
need to run a second "make install" for development or testing purposes.

Note: this interferes with emacs make's strange way of numbering every  
build and docfile, and choking if they don't match up.  The "remake"  
scripts distributed under emacs and emacs/src with Emacs.app before  
merge took care of this.

Improvements to the Emacs.app configure and make system are welcome.


emacs/remake:
#!/bin/sh
rm -f etc/DOC-* src/emacs-*
make -j3

emacs/src/remake:
#!/bin/sh
rm -f ../etc/DOC-* emacs-*
make -j3


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emacs-app-dev- mailing list
Emacs-app-dev-@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-

Reply via email to