diff admin/nt/dump.bat @ 39011:dc12250ba65b

add scripts for creating precompiled Windows distributions
author Andrew Innes <andrewi@gnu.org>
date Wed, 29 Aug 2001 13:58:01 +0000
parents
children 695cf19ef79e
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/nt/dump.bat	Wed Aug 29 13:58:01 2001 +0000
@@ -0,0 +1,21 @@
+@echo off
+rem  Run temacs.exe to recreate the dumped emacs.exe.
+rem  This is only likely to be useful on systems where the prebuilt
+rem  emacs.exe crashes on startup.
+
+rem First save original emacs.exe if present
+if exist emacs.exe.orig goto dump
+echo Saving original emacs.exe as emacs.exe.orig
+ren emacs.exe emacs.exe.orig
+
+:dump
+rem Overwrites emacs.exe if still present
+mkdir ..\lib-src
+copy fns* ..\lib-src
+mkdir obj
+mkdir obj\i386
+mkdir obj\etc
+copy ..\etc\DOC* obj\etc
+copy temacs.exe obj\i386
+obj\i386\temacs -batch -l loadup dump
+copy obj\i386\emacs.exe .