Mercurial > emacs
annotate admin/nt/dump.bat @ 109507:1277fe6717c9
New make target for Windows platform: make dist (bug#6602)
* admin/admin.el: Write version number to nt/makefile.w32-in.
* admin/nt/makedist.bat: Remove; replaced with `zipdist.bat'
in the nt/ directory.
* admin/nt/README.W32: Relocate to nt/ directory.
* etc/NEWS: Document new --distfiles configure.bat option and
`dist' make target on Windows.
* nt/INSTALL: Document new dist target and add section about
creating binary distributions.
* nt/configure.bat: New parameter `--distfiles'.
* nt/makefile.w32-in: Add version number, new target `dist'.
Add new target `install-shortcuts'.
* nt/zipdist.bat: New file; create zipped binary distribution,
replaces admin/nt/makedist.bat.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Sat, 24 Jul 2010 15:35:31 +0200 |
parents | c4c2d8a98a03 |
children | ef719132ddfa |
rev | line source |
---|---|
39011
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
1 @echo off |
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
2 rem Run temacs.exe to recreate the dumped emacs.exe. |
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
3 rem This is only likely to be useful on systems where the prebuilt |
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
4 rem emacs.exe crashes on startup. |
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
5 |
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
6 rem First save original emacs.exe if present |
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
7 if exist emacs.exe.orig goto dump |
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
8 echo Saving original emacs.exe as emacs.exe.orig |
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
9 ren emacs.exe emacs.exe.orig |
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
10 |
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
11 :dump |
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
12 rem Overwrites emacs.exe if still present |
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
13 mkdir obj |
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
14 mkdir obj\i386 |
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
15 mkdir obj\etc |
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
16 copy ..\etc\DOC* obj\etc |
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
17 copy temacs.exe obj\i386 |
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
18 obj\i386\temacs -batch -l loadup dump |
dc12250ba65b
add scripts for creating precompiled Windows distributions
Andrew Innes <andrewi@gnu.org>
parents:
diff
changeset
|
19 copy obj\i386\emacs.exe . |
97324
c4c2d8a98a03
* nt/dump.bat: Fix mixed EOLs.
Juanma Barranquero <lekktu@gmail.com>
parents:
77799
diff
changeset
|
20 |
c4c2d8a98a03
* nt/dump.bat: Fix mixed EOLs.
Juanma Barranquero <lekktu@gmail.com>
parents:
77799
diff
changeset
|
21 goto skipArchTag |
c4c2d8a98a03
* nt/dump.bat: Fix mixed EOLs.
Juanma Barranquero <lekktu@gmail.com>
parents:
77799
diff
changeset
|
22 arch-tag: 0ca3036d-3a1e-47ea-87c6-9c0845253496 |
c4c2d8a98a03
* nt/dump.bat: Fix mixed EOLs.
Juanma Barranquero <lekktu@gmail.com>
parents:
77799
diff
changeset
|
23 :skipArchTag |