add scripts for creating precompiled Windows distributions
[bpt/emacs.git] / admin / nt / dump.bat
CommitLineData
31098a38
AI
1@echo off\r
2rem Run temacs.exe to recreate the dumped emacs.exe.\r
3rem This is only likely to be useful on systems where the prebuilt\r
4rem emacs.exe crashes on startup.\r
5\r
6rem First save original emacs.exe if present\r
7if exist emacs.exe.orig goto dump\r
8echo Saving original emacs.exe as emacs.exe.orig\r
9ren emacs.exe emacs.exe.orig\r
10\r
11:dump\r
12rem Overwrites emacs.exe if still present\r
13mkdir ..\lib-src\r
14copy fns* ..\lib-src\r
15mkdir obj\r
16mkdir obj\i386\r
17mkdir obj\etc\r
18copy ..\etc\DOC* obj\etc\r
19copy temacs.exe obj\i386\r
20obj\i386\temacs -batch -l loadup dump\r
21copy obj\i386\emacs.exe .\r