annotate admin/nt/makedist.bat @ 66899:67dbd8019707

(gud-menu-map): Let [stop] stop program rather than kill it. (gud-tool-bar-map): Likewise. Move cont/until/finish buttons to a more useful/logical place.
author Kim F. Storm <storm@cua.dk>
date Tue, 15 Nov 2005 22:55:48 +0000
parents 08f576638233
children 16e7738bd009 e1fbb019c538
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
60088
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
1 @echo off
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
2
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
3 rem Beware broken ports of tar. Recent cygwin versions work well, older
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
4 rem cygwin versions and the current MSys port have problems with DOS
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
5 rem line ends when reading file names from a file. Other ports have their
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
6 rem own problems too.
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
7 set TAR=tar
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
8
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
9 rem Make a copy of current Emacs source
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
10 if (%3) == () goto usage
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
11 if not (%4) == () goto %4
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
12 if not (%4) == (src) goto :lisp
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
13
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
14 :src
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
15
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
16 echo Create full source distribution, excluding leim
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
17 %TAR% --exclude leim --exclude _marker --exclude DOC --exclude DOC-X --exclude TAGS --exclude bin --exclude obj --exclude obj-spd --exclude oo --exclude oo-spd --exclude *~ --exclude *.rej -cvf - emacs-%1 | gzip -9 > %2-src.tar.gz
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
18 if not (%4) == () goto end
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
19
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
20 :lisp
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
21 echo Create limited elisp source distribution
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
22 %TAR% --exclude *.rej --exclude *.elc --exclude *~ -cvf - emacs-%1/lisp | gzip -9 > %2-lisp.tar.gz
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
23 if not (%4) == () goto end
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
24
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
25 :bin
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
26
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
27 set eld=emacs-%1/lisp
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
28
61550
08f576638233 (elfiles): Update.
Lute Kamstra <lute@gnu.org>
parents: 60088
diff changeset
29 rem List of Lisp files that are not compiled and that should be
08f576638233 (elfiles): Update.
Lute Kamstra <lute@gnu.org>
parents: 60088
diff changeset
30 rem included in the bin distribution.
60088
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
31
61550
08f576638233 (elfiles): Update.
Lute Kamstra <lute@gnu.org>
parents: 60088
diff changeset
32 rem It would be better to generate this list automatically. It is the
08f576638233 (elfiles): Update.
Lute Kamstra <lute@gnu.org>
parents: 60088
diff changeset
33 rem list of all .el files for which there is no corresponding .elc
08f576638233 (elfiles): Update.
Lute Kamstra <lute@gnu.org>
parents: 60088
diff changeset
34 rem file, minus ldefs-boot.el. --lute
08f576638233 (elfiles): Update.
Lute Kamstra <lute@gnu.org>
parents: 60088
diff changeset
35
08f576638233 (elfiles): Update.
Lute Kamstra <lute@gnu.org>
parents: 60088
diff changeset
36 set elfiles=%eld%/cus-load.el %eld%/emacs-lisp/cl-specs.el %eld%/eshell/esh-groups.el %eld%/eshell/esh-maint.el %eld%/finder-inf.el %eld%/forms-d2.el %eld%/forms-pass.el %eld%/international/latin-1.el %eld%/international/latin-2.el %eld%/international/latin-3.el %eld%/international/latin-4.el %eld%/international/latin-5.el %eld%/international/latin-8.el %eld%/international/latin-9.el %eld%/international/mule-conf.el %eld%/language/czech.el %eld%/language/devanagari.el %eld%/language/english.el %eld%/language/georgian.el %eld%/language/greek.el %eld%/language/hebrew.el %eld%/language/japanese.el %eld%/language/kannada.el %eld%/language/korean.el %eld%/language/lao.el %eld%/language/malayalam.el %eld%/language/misc-lang.el %eld%/language/romanian.el %eld%/language/slovak.el %eld%/language/tamil.el %eld%/language/thai.el %eld%/language/utf-8-lang.el %eld%/loaddefs.el %eld%/loadup.el %eld%/mail/blessmail.el %eld%/mh-e/mh-acros.el %eld%/mh-e/mh-gnus.el %eld%/mh-e/mh-loaddefs.el %eld%/obsolete/keyswap.el %eld%/patcomp.el %eld%/paths.el %eld%/play/bruce.el %eld%/subdirs.el %eld%/term/AT386.el %eld%/term/apollo.el %eld%/term/bobcat.el %eld%/term/internal.el %eld%/term/iris-ansi.el %eld%/term/linux.el %eld%/term/lk201.el %eld%/term/news.el %eld%/term/vt102.el %eld%/term/vt125.el %eld%/term/vt200.el %eld%/term/vt201.el %eld%/term/vt220.el %eld%/term/vt240.el %eld%/term/vt300.el %eld%/term/vt320.el %eld%/term/vt400.el %eld%/term/vt420.el %eld%/term/wyse50.el %eld%/version.el
60088
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
37
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
38 set fns_el=
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
39 for %%f in (emacs-%1/bin/fns*) do set fns_el=%fns_el% emacs-%1/bin/%%f
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
40
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
41 echo Create bin distribution
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
42 copy %3\README.W32 emacs-%1\README.W32
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
43
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
44 del #files# #elfiles#
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
45 for %%f in (emacs-%1/BUGS emacs-%1/README emacs-%1/README.W32) do echo %%f>>#files#
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
46 for %%f in (emacs-%1/bin/fns*) do echo emacs-%1/bin/%%f>>#elfiles#
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
47 for %%f in (emacs-%1/bin emacs-%1/etc emacs-%1/info emacs-%1/lisp) do echo %%f>>#files#
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
48 for %%f in (emacs-%1/lock emacs-%1/site-lisp) do echo %%f>>#files#
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
49 for %%f in (%elfiles% emacs-%1/site-lisp/subdirs.el) do echo %%f>>#elfiles#
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
50
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
51 %TAR% --exclude temacs.exe --exclude emacs.mdp --exclude *.pdb --exclude *.opt --exclude "*.el" --exclude "*~" -T #files# -cvf %2-bin-i386.tar
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
52 %TAR% -T #elfiles# -rvf %2-bin-i386.tar
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
53 gzip -9 %2-bin-i386.tar
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
54 del emacs-%1\README.W32
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
55 rem del #files# #elfiles#
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
56 if not (%4) == () goto end
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
57
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
58 :fullbin
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
59
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
60 echo Create full bin distribution
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
61 copy %3\README.W32 emacs-%1\README.W32
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
62
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
63 %TAR% --exclude temacs.exe --exclude emacs.mdp --exclude *.pdb --exclude *.opt --exclude *~ -cvf - emacs-%1/BUGS emacs-%1/README emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc emacs-%1/info emacs-%1/lisp emacs-%1/lock emacs-%1/site-lisp | gzip -9 > %2-fullbin-i386.tar.gz
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
64 del emacs-%1\README.W32
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
65 if not (%4) == () goto end
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
66
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
67 :leim
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
68
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
69 echo Create archive with precompiled leim files
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
70 %TAR% -cvf - emacs-%1/leim/leim-list.el emacs-%1/leim/quail emacs-%1/leim/ja-dic | gzip -9 > %2-leim.tar.gz
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
71 if not (%4) == () goto end
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
72
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
73 :undumped
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
74
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
75 echo Create archive with extra files needed for redumping emacs
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
76 copy %3\README-UNDUMP.W32 emacs-%1\README-UNDUMP.W32
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
77 copy %3\dump.bat emacs-%1\bin
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
78 if exist emacs-%1\src\obj-spd\i386\temacs.exe copy emacs-%1\src\obj-spd\i386\temacs.exe emacs-%1\bin
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
79 if exist emacs-%1\src\oo-spd\i386\temacs.exe copy emacs-%1\src\oo-spd\i386\temacs.exe emacs-%1\bin
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
80 %TAR% -cvf - emacs-%1/README-UNDUMP.W32 emacs-%1/bin/dump.bat emacs-%1/bin/temacs.exe | gzip -9 > %2-undumped-i386.tar.gz
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
81 del emacs-%1\bin\temacs.exe
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
82 del emacs-%1\bin\dump.bat
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
83 del emacs-%1\README-UNDUMP.W32
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
84 if not (%4) == () goto end
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
85
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
86 :barebin
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
87
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
88 echo Create archive with just the basic binaries and generated files
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
89 echo (the user needs to unpack the full source distribution for
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
90 echo everything else)
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
91 copy %3\README.W32 emacs-%1\README.W32
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
92 %TAR% -cvf - emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc/DOC emacs-%1/etc/DOC-X | gzip -9 > %2-barebin-i386.tar.gz
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
93 del emacs-%1\README.W32
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
94 if not (%4) == () goto end
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
95
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
96 goto end
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
97
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
98 rem Only do this if explicitly requested
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
99 :zipfiles
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
100
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
101 echo Create zip files for bin and lisp archives
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
102 mkdir distrib
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
103 cd distrib
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
104 gunzip -c ..\%2-bin-i386.tar.gz | %TAR% xf -
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
105 rem Need to split emacs.exe into fragments because it is too big now
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
106 rem to fit on a floppy even by itself.
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
107 copy %3\stitch.bat %2\bin
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
108 cd %2\bin
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
109 split -b 1000000 emacs.exe emacs
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
110 del emacs.exe
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
111 cd ..\..
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
112 zip -rp9 em%5bin %2
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
113 rm -rf %2
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
114 zipsplit -n 1400000 -b .. em%5bin.zip
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
115 del em%5bin.zip
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
116 gunzip -c ..\%2-lisp.tar.gz | %TAR% xf -
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
117 zip -rp9 em%5lis %2
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
118 rm -rf %2
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
119 zipsplit -n 1400000 -b .. em%5lis.zip
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
120 del em%5lis.zip
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
121 cd ..
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
122
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
123 goto end
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
124
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
125 :usage
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
126 echo Generate source and binary distributions of emacs.
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
127 echo Usage: %0 emacs-version dist-basename distfiles [lisp,bin,undumped,barebin]
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
128 echo (e.g., %0 19.34 emacs-19.34.5 d:\andrewi\distfiles)
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
129 echo Or: %0 emacs-version dist-basename distfiles "zipfiles" short-version
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
130 echo (e.g., %0 20.6 emacs-20.6 d:\andrewi\distfiles zipfiles 206)
536d0d547298 Do not rely on non-standard behaviour of tar --exclude.
Jason Rumney <jasonr@gnu.org>
parents: 52401
diff changeset
131 :end
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 50664
diff changeset
132
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 50664
diff changeset
133 goto skipArchTag
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 50664
diff changeset
134 arch-tag: 6e2ddd92-c1c9-4992-b6b5-207aaab72f68
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 50664
diff changeset
135 :skipArchTag