2 REM #######################################################################
3 REM FILE mk_htmlhelp.bat
4 REM PURPOSE Making MS HTML help file out of the svn-book sources
5 REM ====================================================================
6 REM Copyright (c) 2000-2005 CollabNet. All rights reserved.
8 REM This software is licensed as described in the file COPYING, which
9 REM you should have received as part of this distribution. The terms
10 REM are also available at http://subversion.tigris.org/license-1.html.
11 REM If newer versions of this license are posted there, you may use a
12 REM newer version instead, at your option.
14 REM This software consists of voluntary contributions made by many
15 REM individuals. For exact contribution history, see the revision
16 REM history and logs, available at http://subversion.tigris.org/.
17 REM ====================================================================
20 SET HHC=<%tv_path_hhc%>
21 SET BOOKDEST=<%tv_bookdest%>
24 copy ..\en\book\images\*.* images
26 SET XLSPARAMS=--param suppress.navigation 0 --param htmlhelp.hhc.binary 1
27 SET XLSPARAMS=%XLSPARAMS% --param htmlhelp.show.advanced.search 1
28 SET XLSPARAMS=%XLSPARAMS% --param htmlhelp.chm '%BOOKNAME%.chm'
29 SET XLSPARAMS=%XLSPARAMS% --param htmlhelp.hhp '%BOOKNAME%.hhp'
30 SET XLSPARAMS=%XLSPARAMS% --param htmlhelp.hhc '%BOOKNAME%.hhc'
31 SET XLSPARAMS=%XLSPARAMS% --param html.stylesheet.type 'text/css'
32 SET XLSPARAMS=%XLSPARAMS% --param html.stylesheet 'svn-doc.css'
33 SET XLSPARAMS=%XLSPARAMS% --param htmlhelp.hhp.tail 'svn_bck.png'
34 SET XLSPARAMS=%XLSPARAMS% --param htmlhelp.use.hhk 0
35 SET XLSPARAMS=%XLSPARAMS% --param htmlhelp.hhc.show.root 0
36 SET XLSPARAMS=%XLSPARAMS% --param htmlhelp.autolabel 1
38 xsltproc %XLSPARAMS% ..\tools\xsl\htmlhelp\htmlhelp.xsl ..\en\book\book.xml
41 move %BOOKNAME%.chm %BOOKDEST%