1 |
|
SET debug=no |
2 |
|
SET plugins=no |
3 |
|
|
4 |
|
if "%1"=="debug" SET debug=yes |
5 |
|
if "%1"=="plugins" SET plugins=yes |
6 |
|
|
7 |
CALL makechm.bat |
CALL makechm.bat |
8 |
CALL build.bat %1 |
CALL build.bat %1 |
9 |
|
|
28 |
copy /y ..\ttpmenu\Release\ttpmenu.exe %dst% |
copy /y ..\ttpmenu\Release\ttpmenu.exe %dst% |
29 |
copy /y ..\TTProxy\Release\TTXProxy.dll %dst% |
copy /y ..\TTProxy\Release\TTXProxy.dll %dst% |
30 |
copy /y ..\TTXKanjiMenu\Release\ttxkanjimenu.dll %dst% |
copy /y ..\TTXKanjiMenu\Release\ttxkanjimenu.dll %dst% |
31 |
copy /y ..\TTXSamples\Release\*.dll %dst% |
if "%plugins%"=="yes" copy /y ..\TTXSamples\Release\*.dll %dst% |
32 |
|
|
33 |
rem Debug file |
rem Debug file |
34 |
if "%1"=="debug" copy /y ..\teraterm\release\*.pdb %dst% |
if "%debug%"=="yes" copy /y ..\teraterm\release\*.pdb %dst% |
35 |
if "%1"=="debug" copy /y ..\ttssh2\ttxssh\Release\ttxssh.pdb %dst% |
if "%debug%"=="yes" copy /y ..\ttssh2\ttxssh\Release\ttxssh.pdb %dst% |
36 |
if "%1"=="debug" copy /y ..\ttpmenu\Release\ttxssh.pdb %dst% |
if "%debug%"=="yes" copy /y ..\ttpmenu\Release\ttxssh.pdb %dst% |
37 |
if "%1"=="debug" copy /y ..\TTProxy\Release\TTXProxy.pdb %dst% |
if "%debug%"=="yes" copy /y ..\TTProxy\Release\TTXProxy.pdb %dst% |
38 |
if "%1"=="debug" copy /y ..\TTXKanjiMenu\Release\ttxkanjimenu.pdb %dst% |
if "%debug%"=="yes" copy /y ..\TTXKanjiMenu\Release\ttxkanjimenu.pdb %dst% |
39 |
if "%1"=="debug" copy /y ..\TTXSamples\Release\*.pdb %dst% |
if "%debug%"=="yes" if "%plugins%"=="yes" copy /y ..\TTXSamples\Release\*.pdb %dst% |
40 |
|
|
41 |
|
if "%plugins%"=="yes" ( |
42 |
pushd %dst% |
pushd %dst% |
43 |
if exist TTXFixedWinSize.dll ren TTXFixedWinSize.dll _TTXFixedWinSize.dll |
if exist TTXFixedWinSize.dll ren TTXFixedWinSize.dll _TTXFixedWinSize.dll |
44 |
if exist TTXResizeWin.dll ren TTXResizeWin.dll _TTXResizeWin.dll |
if exist TTXResizeWin.dll ren TTXResizeWin.dll _TTXResizeWin.dll |
45 |
popd |
popd |
46 |
|
) |
47 |
|
|
48 |
copy /y ..\doc\jp\teratermj.chm %dst% |
copy /y ..\doc\jp\teratermj.chm %dst% |
49 |
copy /y ..\doc\en\teraterm.chm %dst% |
copy /y ..\doc\en\teraterm.chm %dst% |
53 |
xcopy /s /e /y /i release\plugin %dst%\plugin |
xcopy /s /e /y /i release\plugin %dst%\plugin |
54 |
xcopy /s /e /y /i release\Collector %dst%\Collector |
xcopy /s /e /y /i release\Collector %dst%\Collector |
55 |
xcopy /s /e /y /i release\lang %dst%\lang |
xcopy /s /e /y /i release\lang %dst%\lang |
|
rmdir /s /q %dst%\plugin\CVS |
|
|
rmdir /s /q %dst%\theme\CVS |
|
|
rmdir /s /q %dst%\theme\scale\CVS |
|
|
rmdir /s /q %dst%\theme\tile\CVS |
|
|
rmdir /s /q %dst%\lang\CVS |
|
56 |
del /f %dst%\lang\English.lng |
del /f %dst%\lang\English.lng |
57 |
|
|
58 |
perl setini.pl release\TERATERM.INI > %dst%\TERATERM.INI |
perl setini.pl release\TERATERM.INI > %dst%\TERATERM.INI |