2014-01-20 61 views
0

我希望能够使用find-functionfind-variable来找到src目录中的定义,并且想知道是否有可能将此程序包打包到应用程序中而不是在Emacs构建已经发生之后手动处理。我建设上OSX使用下面的命令行输入:如何在构建Emacs时在src`目录中包含/复制

/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

这里是如何做手工:

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")) 
相关问题