diff options
author | Andrew Innes <andrewi@gnu.org> | 2003-04-22 12:10:51 +0000 |
---|---|---|
committer | Andrew Innes <andrewi@gnu.org> | 2003-04-22 12:10:51 +0000 |
commit | 9e435384aa0aaed78dbbc656511938df1739802d (patch) | |
tree | 120a20ce4f892e71122ab7de51cc8377d82f2f07 /admin | |
parent | acbf96a2e799ab05ef7af3b56f6e749054cfe892 (diff) | |
download | emacs-9e435384aa0aaed78dbbc656511938df1739802d.tar.gz |
Fix multi-file .zip distribution, by splitting
emacs.exe before zipping, and including batch file to recreate
after unpacking.
Diffstat (limited to 'admin')
-rwxr-xr-x | admin/nt/makedist.bat | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/admin/nt/makedist.bat b/admin/nt/makedist.bat index e792754c62d..f34e7e532fe 100755 --- a/admin/nt/makedist.bat +++ b/admin/nt/makedist.bat @@ -95,15 +95,22 @@ echo Create zip files for bin and lisp archives mkdir distrib
cd distrib
gunzip -c ..\%2-bin-i386.tar.gz | %TAR% xf -
-zip -rp9 em%5_bin %2
+rem Need to split emacs.exe into fragments because it is too big now
+rem to fit on a floppy even by itself.
+copy %3\stitch.bat %2\bin
+cd %2\bin
+split -b 1000000 emacs.exe emacs
+del emacs.exe
+cd ..\..
+zip -rp9 em%5bin %2
rm -rf %2
-zipsplit -n 2000000 -b .. em%5_bin.zip
-del em%5_bin.zip
+zipsplit -n 1400000 -b .. em%5bin.zip
+del em%5bin.zip
gunzip -c ..\%2-lisp.tar.gz | %TAR% xf -
-zip -rp9 em%5_lis %2
+zip -rp9 em%5lis %2
rm -rf %2
-zipsplit -n 1400000 -b .. em%5_lis.zip
-del em%5_lis.zip
+zipsplit -n 1400000 -b .. em%5lis.zip
+del em%5lis.zip
cd ..
goto end
|