diff options
| author | Eli Zaretskii | 2012-11-17 20:00:16 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-11-17 20:00:16 +0200 |
| commit | cf2d22b874ca2df0072e32ee641e8efffe4abd6d (patch) | |
| tree | 1795142ec7861fc85c61adc90f03265b69041556 /nt/zipdist.bat | |
| parent | 3c4ca7155293ffc2d04708007131bcbc882d8913 (diff) | |
| parent | 6ad30855c02908fdd99d9b11943719e185e65ee3 (diff) | |
| download | emacs-cf2d22b874ca2df0072e32ee641e8efffe4abd6d.tar.gz emacs-cf2d22b874ca2df0072e32ee641e8efffe4abd6d.zip | |
Merge from trunk.
Diffstat (limited to 'nt/zipdist.bat')
| -rw-r--r-- | nt/zipdist.bat | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/nt/zipdist.bat b/nt/zipdist.bat index 806415054fd..e196299b6d6 100644 --- a/nt/zipdist.bat +++ b/nt/zipdist.bat | |||
| @@ -25,9 +25,8 @@ set EMACS_VER=%1 | |||
| 25 | set TMP_DIST_DIR=emacs-%EMACS_VER% | 25 | set TMP_DIST_DIR=emacs-%EMACS_VER% |
| 26 | 26 | ||
| 27 | rem Check, if 7zip is installed and available on path | 27 | rem Check, if 7zip is installed and available on path |
| 28 | :ZIP_CHECK | 28 | 7z 1>NUL 2>NUL |
| 29 | 7z | 29 | if %ERRORLEVEL% NEQ 0 goto ZIP_ERROR |
| 30 | if %ERRORLEVEL% NEQ 0 goto :ZIP_ERROR | ||
| 31 | goto ZIP_DIST | 30 | goto ZIP_DIST |
| 32 | 31 | ||
| 33 | :ZIP_ERROR | 32 | :ZIP_ERROR |
| @@ -35,14 +34,10 @@ echo. | |||
| 35 | echo ERROR: Make sure 7zip is installed and available on the Windows Path! | 34 | echo ERROR: Make sure 7zip is installed and available on the Windows Path! |
| 36 | goto EXIT | 35 | goto EXIT |
| 37 | 36 | ||
| 38 | rem Build distributions | 37 | rem Build and verify the binary distribution |
| 39 | :ZIP_DIST | 38 | :ZIP_DIST |
| 40 | rem Build and verify full distribution | ||
| 41 | 7z a -bd -tZIP -mx=9 -x!.bzrignore -x!.gitignore -xr!emacs.mdp -xr!*.pdb -xr!*.opt -xr!*~ -xr!CVS -xr!.arch-inventory emacs-%EMACS_VER%-bin-i386.zip %TMP_DIST_DIR% | 39 | 7z a -bd -tZIP -mx=9 -x!.bzrignore -x!.gitignore -xr!emacs.mdp -xr!*.pdb -xr!*.opt -xr!*~ -xr!CVS -xr!.arch-inventory emacs-%EMACS_VER%-bin-i386.zip %TMP_DIST_DIR% |
| 42 | 7z t emacs-%EMACS_VER%-bin-i386.zip | 40 | 7z t emacs-%EMACS_VER%-bin-i386.zip |
| 43 | rem Build and verify binary only distribution | ||
| 44 | 7z a -bd -tZIP -mx=9 -x!.bzrignore -x!.gitignore -xr!emacs.mdp -xr!*.pdb -xr!*.opt -xr!*~ -xr!CVS -xr!.arch-inventory emacs-%EMACS_VER%-barebin-i386.zip %TMP_DIST_DIR%/README.W32 %TMP_DIST_DIR%/bin %TMP_DIST_DIR%/etc/DOC-X %TMP_DIST_DIR%/COPYING | ||
| 45 | 7z t emacs-%EMACS_VER%-barebin-i386.zip | ||
| 46 | goto EXIT | 41 | goto EXIT |
| 47 | 42 | ||
| 48 | :EXIT | 43 | :EXIT |