diff src/dbxrc @ 284:558f606b08ae r21-0b40

Import from CVS: tag r21-0b40
author cvs
date Mon, 13 Aug 2007 10:34:13 +0200
parents c5d627a313b1
children e11d67e05968
line wrap: on
line diff
--- a/src/dbxrc	Mon Aug 13 10:33:19 2007 +0200
+++ b/src/dbxrc	Mon Aug 13 10:34:13 2007 +0200
@@ -139,21 +139,38 @@
 end
 
 function run-temacs {
-  run -batch -l loadup.el run-temacs -q
+  unset EMACSLOADPATH
+  export EMACSBOOTSTRAPLOADPATH=../lisp/:..
+  run -batch -l ../lisp/loadup.el run-temacs -q
 }
 
 document update-elc << 'end'
 Usage: update-elc
-Run the elc compilation part of the build procedure.
+Run the core lisp byte compilation part of the build procedure.
 Use when debugging temacs, not xemacs!
 Use this when temacs builds successfully, but xemacs does not.
 end
 
 function update-elc {
-  export EMACSLOADPATH=../lisp/
-  run -batch -l update-elc.el
+  unset EMACSLOADPATH
+  export EMACSBOOTSTRAPLOADPATH=../lisp/:..
+  run -batch -l ../lisp/update-elc.el
 }
 
+
+function dump-temacs {
+  unset EMACSLOADPATH
+  export EMACSBOOTSTRAPLOADPATH=../lisp/:..
+  run -batch -l ../lisp/loadup.el dump
+}
+
+document dump-temacs << 'end'
+Usage: dump-temacs
+Run the dumping part of the build procedure.
+Use when debugging temacs, not xemacs!
+Use this when temacs builds successfully, but xemacs does not.
+end
+
 function pstruct {
   xstruct="((struct $1 *) $val)"
   print $xstruct