How to include / copy the `src` file when creating Emacs

I would like to be able to use find-function and find-variable for the definitions found in the src directory, and I am wondering if this can be packaged into the application at creation, and not deal with it manually after building Emacs. I built on OSX with the following entries on the command line:

 /macports/bin/bzr branch --stacked bzr://bzr.savannah.gnu.org/emacs/trunk emacs-trunk ;; cd over to the new emacs-trunk directory that was just downloaded. /macports/bin/bzr pull ./autogen.sh ./configure --with-ns make bootstrap make && make install ;; the new Emacs build is waiting for you in .../emacs-trunk/nextstep 
0
source share
1 answer

Here's how to do it manually:

 Mx eshell /macports/bin/bzr branch --stacked bzr://bzr.savannah.gnu.org/emacs/trunk emacs-trunk ;; cd over to the newly downloaded '.../emacs-trunk' main directory /macports/bin/bzr pull ./autogen.sh ./configure --with-ns make bootstrap make && make install cp -r /Users/HOME/Desktop/emacs-trunk/src /Users/HOME/Desktop/emacs-trunk/nextstep/Emacs.app/Contents/Resources/ ;; create: '.../lisp/site-start.el' with the following contents: (load-file "/Users/HOME/.0.data/.0.emacs/init.el") ;; adjust the following c-source variable as needed: (setq find-function-C-source-directory (concat root.d "Emacs_01_19_2014.app/Contents/Resources/src")) 
0
source

All Articles