Mercurial > emacs
comparison admin/nt/makedist.bat @ 50664:12c610626e32
Fix multi-file .zip distribution, by splitting
emacs.exe before zipping, and including batch file to recreate
after unpacking.
author | Andrew Innes <andrewi@gnu.org> |
---|---|
date | Tue, 22 Apr 2003 12:10:51 +0000 |
parents | 187e89d56f7a |
children | 695cf19ef79e |
comparison
equal
deleted
inserted
replaced
50663:db0f08a24323 | 50664:12c610626e32 |
---|---|
93 | 93 |
94 echo Create zip files for bin and lisp archives | 94 echo Create zip files for bin and lisp archives |
95 mkdir distrib | 95 mkdir distrib |
96 cd distrib | 96 cd distrib |
97 gunzip -c ..\%2-bin-i386.tar.gz | %TAR% xf - | 97 gunzip -c ..\%2-bin-i386.tar.gz | %TAR% xf - |
98 zip -rp9 em%5_bin %2 | 98 rem Need to split emacs.exe into fragments because it is too big now |
99 rem to fit on a floppy even by itself. | |
100 copy %3\stitch.bat %2\bin | |
101 cd %2\bin | |
102 split -b 1000000 emacs.exe emacs | |
103 del emacs.exe | |
104 cd ..\.. | |
105 zip -rp9 em%5bin %2 | |
99 rm -rf %2 | 106 rm -rf %2 |
100 zipsplit -n 2000000 -b .. em%5_bin.zip | 107 zipsplit -n 1400000 -b .. em%5bin.zip |
101 del em%5_bin.zip | 108 del em%5bin.zip |
102 gunzip -c ..\%2-lisp.tar.gz | %TAR% xf - | 109 gunzip -c ..\%2-lisp.tar.gz | %TAR% xf - |
103 zip -rp9 em%5_lis %2 | 110 zip -rp9 em%5lis %2 |
104 rm -rf %2 | 111 rm -rf %2 |
105 zipsplit -n 1400000 -b .. em%5_lis.zip | 112 zipsplit -n 1400000 -b .. em%5lis.zip |
106 del em%5_lis.zip | 113 del em%5lis.zip |
107 cd .. | 114 cd .. |
108 | 115 |
109 goto end | 116 goto end |
110 | 117 |
111 :usage | 118 :usage |