emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/admin/nt/makedist.bat,v


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/admin/nt/makedist.bat,v
Date: Fri, 25 May 2007 04:55:51 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Miles Bader <miles>     07/05/25 04:55:49

Index: admin/nt/makedist.bat
===================================================================
RCS file: /cvsroot/emacs/emacs/admin/nt/makedist.bat,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- admin/nt/makedist.bat       24 May 2007 06:25:49 -0000      1.13
+++ admin/nt/makedist.bat       25 May 2007 04:55:49 -0000      1.14
@@ -25,8 +25,6 @@
 rem Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 rem Boston, MA 02110-1301, USA.
 
-set ZIP=zip
-
 if (%3) == () goto usage
 if not (%4) == () goto %4
 
@@ -34,18 +32,25 @@
 
 echo Create full bin distribution
 copy %3\README.W32 emacs-%1\README.W32
-
-%ZIP% -x emacs.mdp -x *.pdb -x *.opt -x *~ -x CVS -9 emacs-%1/BUGS 
emacs-%1/README emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc emacs-%1/info 
emacs-%1/lisp %2-bin-i386.zip
+rem Info-ZIP zip seems to be broken on Windows.
+rem It always writes to zip.zip and treats the zipfile argument as one
+rem of the files to go in it.
+rem zip -9 -r %2-bin-i386 emacs-%1/BUGS emacs-%1/README emacs-%1/README.W32 
emacs-%1/bin emacs-%1/etc emacs-%1/info emacs-%1/lisp emacs-%1/leim -x 
emacs.mdp *.pdb *.opt *~ CVS
+7z a -tZIP -mx=9 -xr!emacs.mdp -xr!*.pdb -xr!*.opt -xr!*~ -xr!CVS 
-xr!.arch-inventory %2-bin-i386.zip emacs-%1/BUGS emacs-%1/README 
emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc emacs-%1/info emacs-%1/lisp 
emacs-%1/leim 
 del emacs-%1\README.W32
 if not (%4) == () goto end
 
 :barebin
-
 echo Create archive with just the basic binaries and generated files
 echo (the user needs to unpack the full source distribution for
 echo  everything else)
 copy %3\README.W32 emacs-%1\README.W32
-%ZIP% -9 emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc/DOC emacs-%1/etc/DOC-X 
%2-barebin-i386.zip
+copy %3\dump.bat emacs-%1\bin\dump.bat
+rem Info-ZIP zip seems to be broken on Windows.
+rem It always writes to zip.zip and treats the zipfile argument as one
+rem of the files to go in it.
+rem zip -9 -r %2-barebin-i386.zip emacs-%1/README.W32 emacs-%1/bin 
emacs-%1/etc/DOC-X
+7z a -tZIP -mx=9 %2-barebin-i386.zip emacs-%1/README.W32 emacs-%1/bin 
emacs-%1/etc/DOC-X
 del emacs-%1\README.W32
 if not (%4) == () goto end
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]