view admin/nt/dump.bat @ 54324:bdf4aa3226e7

Changes to support ChangeLog.10+. (main): Tidy up usage string. Fix "Use of uninitialized value" warning. Set version to 0.2. Parse the directory listing to get any ChangeLog.n file, not just 1..9. (header_match_p, entry_match_p, print_log, parse_changelog): Remove Perl prototypes (their purpose is to help the parser, which isn't needed here, not declare arguments). (parse_changelog): Make --reverse faster on big batches by not modifying the entries list.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 09 Mar 2004 22:46:29 +0000
parents 695cf19ef79e
children 4ff1d1caeb96 375f2633d815
line wrap: on
line source

@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 .

goto skipArchTag
   arch-tag: 0ca3036d-3a1e-47ea-87c6-9c0845253496
:skipArchTag