home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 2002 November
/
VPR0211A.ISO
/
OLS
/
BZ2L003
/
bz2l003.lzh
/
PACK.BAT
< prev
Wrap
DOS Batch File
|
1998-06-02
|
908b
|
44 lines
set binpack=bz2l003
set allpack=bz2s002.lzh
set srcpack=lhminsrc.lzh
set winpack=1
if "%1"=="" goto binpack
if "%1"=="all" goto allpack
if "%1"=="src" goto srcpack
:binpack
copy %binpack%.lzh oldpack.lzh
# del %binpack%.lzh
rm -r package
mkdir package
cp bz2lib.txt bz2libe.txt bz2lib.dll filelist.txt bz2api.txt compile.txt pack.bat package\
if "%WINPACK%"=="1" cp c:\windows\system\bz2lib.dll package
if "%WINPACK%"=="1" cp bz2lib\release\bz2lib.lib package
mkdir package\bz2lib
mkdir package\licence
cp bz2lib\*.{c,h,def,dsp,dsw} bz2lib\makefile.unx package\bz2lib\
cp licence\* package\licence\
cd package
lha a -xr %binpack%.lzh
# lha s -xr %binpack%.lzh
copy %binpack%.lzh ..
cd ..
goto end
:allpack
del %allpack%
lha a %allpack%
cp %allpack% ..\backup\
goto end
:srcpack
del %srcpack%
lha a %srcpack% *.vbp *.frm *.bas *.frx *.cls *.ico *.sap
:end