Browse Subversion Repository
Contents of /branches/4-stable/doc/makechm.bat
Parent Directory
| Revision Log
Revision 8437 -
( show annotations)
( download)
( as text)
Fri Dec 13 03:11:16 2019 UTC
(4 years, 3 months ago)
by doda
File MIME type: application/x-msdos-program
File size: 948 byte(s)
Tera Term 4.xx メンテナンス用ブランチを作成
| 1 |
|
| 2 |
if exist "%Programfiles(x86)%\HTML Help Workshop\hhc.exe" ( |
| 3 |
set HELP_COMPILER="%Programfiles(x86)%\HTML Help Workshop\hhc.exe" |
| 4 |
) else ( |
| 5 |
set HELP_COMPILER=C:\progra~1\htmlhe~1\hhc.exe |
| 6 |
) |
| 7 |
|
| 8 |
REM for winxp installation on other drive or other language |
| 9 |
if exist "%Programfiles%\HTML Help Workshop\hhc.exe" ( |
| 10 |
set HELP_COMPILER="%Programfiles%\HTML Help Workshop\hhc.exe" |
| 11 |
) |
| 12 |
|
| 13 |
set updated= |
| 14 |
|
| 15 |
CALL convtext.bat |
| 16 |
|
| 17 |
REM Check Japanese version Windows |
| 18 |
chcp | find "932" > NUL |
| 19 |
if ERRORLEVEL 1 goto English |
| 20 |
|
| 21 |
for /f "delims=" %%i in ('perl htmlhelp_update_check.pl ja teratermj.chm') do @set updated=%%i |
| 22 |
if "%updated%"=="updated" ( |
| 23 |
perl htmlhelp_index_make.pl ja html > ja\Index.hhk |
| 24 |
%HELP_COMPILER% ja\teraterm.hhp |
| 25 |
) |
| 26 |
|
| 27 |
:English |
| 28 |
for /f "delims=" %%i in ('perl htmlhelp_update_check.pl en teraterm.chm') do @set updated=%%i |
| 29 |
if "%updated%"=="updated" ( |
| 30 |
perl htmlhelp_index_make.pl en html > en\Index.hhk |
| 31 |
%HELP_COMPILER% en\teraterm.hhp |
| 32 |
) |
|