aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorAndrew Innes2003-04-22 12:10:51 +0000
committerAndrew Innes2003-04-22 12:10:51 +0000
commitd64f2d06c7ccc80dcb0e7c77a0e4cd7820371977 (patch)
tree05fe4af0903ad39c60f069914d79a414378d3c7a /admin
parentade112567bbb010a6454b863b42c8fa09f225a5c (diff)
downloademacs-d64f2d06c7ccc80dcb0e7c77a0e4cd7820371977.tar.gz
emacs-d64f2d06c7ccc80dcb0e7c77a0e4cd7820371977.zip
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-xadmin/nt/makedist.bat19
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
95mkdir distrib 95mkdir distrib
96cd distrib 96cd distrib
97gunzip -c ..\%2-bin-i386.tar.gz | %TAR% xf - 97gunzip -c ..\%2-bin-i386.tar.gz | %TAR% xf -
98zip -rp9 em%5_bin %2 98rem Need to split emacs.exe into fragments because it is too big now
99rem to fit on a floppy even by itself.
100copy %3\stitch.bat %2\bin
101cd %2\bin
102split -b 1000000 emacs.exe emacs
103del emacs.exe
104cd ..\..
105zip -rp9 em%5bin %2
99rm -rf %2 106rm -rf %2
100zipsplit -n 2000000 -b .. em%5_bin.zip 107zipsplit -n 1400000 -b .. em%5bin.zip
101del em%5_bin.zip 108del em%5bin.zip
102gunzip -c ..\%2-lisp.tar.gz | %TAR% xf - 109gunzip -c ..\%2-lisp.tar.gz | %TAR% xf -
103zip -rp9 em%5_lis %2 110zip -rp9 em%5lis %2
104rm -rf %2 111rm -rf %2
105zipsplit -n 1400000 -b .. em%5_lis.zip 112zipsplit -n 1400000 -b .. em%5lis.zip
106del em%5_lis.zip 113del em%5lis.zip
107cd .. 114cd ..
108 115
109goto end 116goto end