如何在构建Emacs时包含/复制`src`目录

如何在构建Emacs时包含/复制`src`目录,emacs,Emacs,我希望能够使用find function和find variable来定义src目录中的定义,我想知道是否有可能在构建时将其打包到应用程序中,而不是在Emacs构建完成后手动处理。我正在使用以下命令行条目构建OSX: /macports/bin/bzr branch --stacked bzr://bzr.savannah.gnu.org/emacs/trunk emacs-trunk ;; cd over to the new emacs-trunk directory that was j

我希望能够使用
find function
find variable
来定义
src
目录中的定义,我想知道是否有可能在构建时将其打包到应用程序中,而不是在Emacs构建完成后手动处理。我正在使用以下命令行条目构建
OSX

/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

以下是如何手动执行此操作:

M-x 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"))