[go: up one dir, main page]

Menu

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

Download this file

24 lines (22 with data), 885 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
@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 release\ptp.dll winpcap\*.exe
cd docs
pkzip25 -add -path ..\%1-win32.zip *.html images\*.png *.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 *.inl
pkzip25 -add -dir %1-source.zip *.bmp *.cur *.ico *.rc *.rc2 *.dsp *.dsw *.lib *.vts *.def
REM pkzip25 -add -path %1-source.zip bacmacNT\*.*
pkzip25 -add -path %1-source.zip winpcap\*.exe