[go: up one dir, main page]

Menu

[r98]: / trunk / VTS3 / release.bat  Maximize  Restore  History

Download this file

22 lines (20 with data), 745 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
@echo off
REM This batch file constructs the distribution files for VTS 3.x
REM It requires the command line version of pkzip 2.5 for Win32.
REM
REM The user must specify the root name of the release as the first
REM command line argument, i.e. "vts-1.3.6"
REM
REM This should be invoked from the VTS3 root.
REM
REM --- First make the executable distribution ---
del %1-win32.zip
pkzip25 -add %1-win32.zip release\VTS.exe
cd docs
pkzip25 -add -path ..\%1-win32.zip *.html images\*.gif *.doc
cd ..
pkzip25 -add -path %1-win32.zip scripts\*.vts
REM --- Then make the source distribution ---
del %1-source.zip
pkzip25 -add -dir %1-source.zip *.cpp *.hpp *.c *.h
pkzip25 -add -dir %1-source.zip *.bmp *.cur *.ico *.rc *.rc2 *.dsp *.dsw *.lib *.vts