# HG changeset patch # User Andrew Innes # Date 1051013451 0 # Node ID 12c610626e322751484011005bd37b59e55ba07d # Parent db0f08a243231e2d594dfca1683fd9a642b5c44b Fix multi-file .zip distribution, by splitting emacs.exe before zipping, and including batch file to recreate after unpacking. diff -r db0f08a24323 -r 12c610626e32 admin/nt/makedist.bat --- a/admin/nt/makedist.bat Tue Apr 22 10:57:14 2003 +0000 +++ b/admin/nt/makedist.bat Tue Apr 22 12:10:51 2003 +0000 @@ -95,15 +95,22 @@ 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