Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Contents of /trunk/installer/makearchive.bat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3227 - (show annotations) (download) (as text)
Tue Mar 24 15:10:33 2009 UTC (15 years, 1 month ago) by maya
File MIME type: application/x-msdos-program
File size: 2161 byte(s)
CVS から SVN へ移行: 改行コードを LF から CR+LF へ変換
1 rem ●使用例
2 rem 通常のビルド
3 rem makearchive.bat
4 rem リビルド
5 rem makearchive.bat rebuild
6 rem デバッグ情報含む
7 rem makearchive.bat debug
8 rem プラグイン含む
9 rem makearchive.bat plugins
10
11 SET debug=no
12 SET plugins=no
13
14 if "%1"=="debug" SET debug=yes
15 if "%1"=="plugins" SET plugins=yes
16
17 CALL makechm.bat
18 CALL build.bat %1
19
20 rem for XP or later
21 set today=snapshot-%date:~0,4%%date:~5,2%%date:~8,2%
22
23 for %%a in (%today%, %today%_2, %today%_3, %today%_4, %today%_5) do (
24 set dst=%%a
25 if not exist %%a goto create
26 )
27
28 :create
29 del /s /q %dst%\*.*
30 mkdir %dst%
31
32 copy /y ..\teraterm\release\*.exe %dst%
33 copy /y ..\teraterm\release\*.dll %dst%
34 copy /y ..\ttssh2\ttxssh\Release\ttxssh.dll %dst%
35 copy /y ..\cygterm\cygterm.exe %dst%
36 copy /y ..\cygterm\cygterm.cfg %dst%
37 copy /y ..\cygterm\cyglaunch.exe %dst%
38 copy /y "..\cygterm\cygterm+.tar.gz" %dst%
39 copy /y ..\ttpmenu\Release\ttpmenu.exe %dst%
40 copy /y ..\TTProxy\Release\TTXProxy.dll %dst%
41 copy /y ..\TTXKanjiMenu\Release\ttxkanjimenu.dll %dst%
42 if "%plugins%"=="yes" copy /y ..\TTXSamples\Release\*.dll %dst%
43
44 rem Debug file
45 if "%debug%"=="yes" copy /y ..\teraterm\release\*.pdb %dst%
46 if "%debug%"=="yes" copy /y ..\ttssh2\ttxssh\Release\ttxssh.pdb %dst%
47 if "%debug%"=="yes" copy /y ..\ttpmenu\Release\ttxssh.pdb %dst%
48 if "%debug%"=="yes" copy /y ..\TTProxy\Release\TTXProxy.pdb %dst%
49 if "%debug%"=="yes" copy /y ..\TTXKanjiMenu\Release\ttxkanjimenu.pdb %dst%
50 if "%debug%"=="yes" if "%plugins%"=="yes" copy /y ..\TTXSamples\Release\*.pdb %dst%
51
52 if "%plugins%"=="yes" (
53 pushd %dst%
54 if exist TTXFixedWinSize.dll ren TTXFixedWinSize.dll _TTXFixedWinSize.dll
55 if exist TTXResizeWin.dll ren TTXResizeWin.dll _TTXResizeWin.dll
56 popd
57 )
58
59 copy /y ..\doc\jp\teratermj.chm %dst%
60 copy /y ..\doc\en\teraterm.chm %dst%
61
62 copy /y release\*.* %dst%
63 copy /y release\EDITOR.CNF %dst%\KEYBOARD.CNF
64 xcopy /s /e /y /i release\theme %dst%\theme
65 xcopy /s /e /y /i release\plugin %dst%\plugin
66 xcopy /s /e /y /i release\Collector %dst%\Collector
67 xcopy /s /e /y /i release\lang %dst%\lang
68 del /f %dst%\lang\English.lng
69
70 perl setini.pl release\TERATERM.INI > %dst%\TERATERM.INI

Properties

Name Value
svn:executable *

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26