Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/4-stable/doc/makechm.bat

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4741 by yutakapon, Wed Nov 23 09:27:06 2011 UTC revision 5362 by yutakapon, Sun Aug 18 10:50:37 2013 UTC
# Line 5  if exist "%Programfiles(x86)%\HTML Help Line 5  if exist "%Programfiles(x86)%\HTML Help
5          set HELP_COMPILER=C:\progra~1\htmlhe~1\hhc.exe          set HELP_COMPILER=C:\progra~1\htmlhe~1\hhc.exe
6  )  )
7    
8    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  set updated=  set updated=
14    
15  CALL convtext.bat  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  for /f "delims=" %%i in ('perl htmlhelp_update_check.pl ja teratermj.chm') do @set updated=%%i
22  if "%updated%"=="updated" (  if "%updated%"=="updated" (
23  perl htmlhelp_index_make.pl ja html > ja\Index.hhk  perl htmlhelp_index_make.pl ja html > ja\Index.hhk
24  %HELP_COMPILER% ja\teraterm.hhp  %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  for /f "delims=" %%i in ('perl htmlhelp_update_check.pl en teraterm.chm') do @set updated=%%i
29  if "%updated%"=="updated" (  if "%updated%"=="updated" (
30  perl htmlhelp_index_make.pl en html > en\Index.hhk  perl htmlhelp_index_make.pl en html > en\Index.hhk

Legend:
Removed from v.4741  
changed lines
  Added in v.5362

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