Commit | Line | Data |
---|---|---|
31098a38 AI |
1 | @echo off\r |
2 | rem Run temacs.exe to recreate the dumped emacs.exe.\r | |
3 | rem This is only likely to be useful on systems where the prebuilt\r | |
4 | rem emacs.exe crashes on startup.\r | |
5 | \r | |
6 | rem First save original emacs.exe if present\r | |
7 | if exist emacs.exe.orig goto dump\r | |
8 | echo Saving original emacs.exe as emacs.exe.orig\r | |
9 | ren emacs.exe emacs.exe.orig\r | |
10 | \r | |
11 | :dump\r | |
12 | rem Overwrites emacs.exe if still present\r | |
13 | mkdir ..\lib-src\r | |
14 | copy fns* ..\lib-src\r | |
15 | mkdir obj\r | |
16 | mkdir obj\i386\r | |
17 | mkdir obj\etc\r | |
18 | copy ..\etc\DOC* obj\etc\r | |
19 | copy temacs.exe obj\i386\r | |
20 | obj\i386\temacs -batch -l loadup dump\r | |
21 | copy obj\i386\emacs.exe .\r | |
ab5796a9 MB |
22 | |
23 | goto skipArchTag | |
24 | arch-tag: 0ca3036d-3a1e-47ea-87c6-9c0845253496 | |
25 | :skipArchTag |