view admin/nt/dump.bat @ 108522:0d518077d6bd

Define some variables to hold configure's output, for clarity. * src/Makefile.in (C_SWITCH_X_SYSTEM, C_SWITCH_X_SITE, LIB_STANDARD) (LIB_MATH, FONTCONFIG_CFLAGS, FONTCONFIG_LIBS, FREETYPE_CFLAGS) (FREETYPE_LIBS, LIBOTF_CFLAGS, LIBOTF_LIBS, M17N_FLT_CFLAGS) (M17N_FLT_LIBS, GNU_OBJC_CFLAGS, GNUSTEP_SYSTEM_LIBRARIES, LIBGPM) (LIBRESOLV, UNEXEC_OBJ): For clarity, define variables to hold the values output be configure. (ALL_CFLAGS, obj, LIBES, temacs${EXEEXT}): Use the above variables. * msdos/sed1v2.inp (C_SWITCH_X_SYSTEM, C_SWITCH_X_SITE, LIB_STANDARD) (FONTCONFIG_CFLAGS, FONTCONFIG_LIBS, FREETYPE_CFLAGS, FREETYPE_LIBS) (LIBOTF_CFLAGS, LIBOTF_LIBS, M17N_FLT_CFLAGS, M17N_FLT_LIBS) (GNU_OBJC_CFLAGS, GNUSTEP_SYSTEM_LIBRARIES, LIBRESOLV, LIBGPM): Edit to empty, (LIB_MATH): Edit to -lm. (UNEXEC_OBJ): Edit to unexec.o.
author Glenn Morris <rgm@gnu.org>
date Wed, 12 May 2010 19:50:20 -0700
parents c4c2d8a98a03
children ef719132ddfa
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 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