Browse Subversion Repository
Annotation of /branches/4-stable/doc/makechm.bat
Parent Directory
| Revision Log
| 1 |
yutakapon |
4741 |
|
| 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 |
yutakapon |
5362 |
REM for winxp installation on other drive or other languaje |
| 9 |
|
|
if exist "%Programfiles%\HTML Help Workshop\hhc.exe" ( |
| 10 |
|
|
set HELP_COMPILER="%Programfiles%\HTML Help Workshop\hhc.exe" |
| 11 |
|
|
) |
| 12 |
|
|
|
| 13 |
maya |
4613 |
set updated= |
| 14 |
|
|
|
| 15 |
maya |
3227 |
CALL convtext.bat |
| 16 |
|
|
|
| 17 |
yutakapon |
5362 |
REM Check Japanese version Windows |
| 18 |
|
|
chcp | find "932" > NUL |
| 19 |
|
|
if ERRORLEVEL 1 goto English |
| 20 |
|
|
|
| 21 |
maya |
4613 |
for /f "delims=" %%i in ('perl htmlhelp_update_check.pl ja teratermj.chm') do @set updated=%%i |
| 22 |
|
|
if "%updated%"=="updated" ( |
| 23 |
yutakapon |
4405 |
perl htmlhelp_index_make.pl ja html > ja\Index.hhk |
| 24 |
maya |
4613 |
%HELP_COMPILER% ja\teraterm.hhp |
| 25 |
|
|
) |
| 26 |
|
|
|
| 27 |
yutakapon |
5362 |
:English |
| 28 |
maya |
4613 |
for /f "delims=" %%i in ('perl htmlhelp_update_check.pl en teraterm.chm') do @set updated=%%i |
| 29 |
|
|
if "%updated%"=="updated" ( |
| 30 |
yutakapon |
4405 |
perl htmlhelp_index_make.pl en html > en\Index.hhk |
| 31 |
maya |
3227 |
%HELP_COMPILER% en\teraterm.hhp |
| 32 |
maya |
4613 |
) |
|