]> code.delx.au - gnu-emacs/commitdiff
Fix multi-file .zip distribution, by splitting
authorAndrew Innes <andrewi@gnu.org>
Tue, 22 Apr 2003 12:10:51 +0000 (12:10 +0000)
committerAndrew Innes <andrewi@gnu.org>
Tue, 22 Apr 2003 12:10:51 +0000 (12:10 +0000)
emacs.exe before zipping, and including batch file to recreate
after unpacking.

admin/nt/makedist.bat

index e792754c62d23cf81cc4568e0ed7575f4581993a..f34e7e532feb023d1d8ab9860222eee60d03062f 100755 (executable)
@@ -95,15 +95,22 @@ echo Create zip files for bin and lisp archives
 mkdir distrib\r
 cd distrib\r
 gunzip -c ..\%2-bin-i386.tar.gz | %TAR% xf -\r
-zip -rp9 em%5_bin %2\r
+rem Need to split emacs.exe into fragments because it is too big now\r
+rem to fit on a floppy even by itself.\r
+copy %3\stitch.bat %2\bin\r
+cd %2\bin\r
+split -b 1000000 emacs.exe emacs\r
+del emacs.exe\r
+cd ..\..\r
+zip -rp9 em%5bin %2\r
 rm -rf %2\r
-zipsplit -n 2000000 -b .. em%5_bin.zip\r
-del em%5_bin.zip\r
+zipsplit -n 1400000 -b .. em%5bin.zip\r
+del em%5bin.zip\r
 gunzip -c ..\%2-lisp.tar.gz | %TAR% xf -\r
-zip -rp9 em%5_lis %2\r
+zip -rp9 em%5lis %2\r
 rm -rf %2\r
-zipsplit -n 1400000 -b .. em%5_lis.zip\r
-del em%5_lis.zip\r
+zipsplit -n 1400000 -b .. em%5lis.zip\r
+del em%5lis.zip\r
 cd ..\r
 \r
 goto end\r