File: makechm.bat

package info (click to toggle)
docbook-defguide 2.0.17%2Bsvn9047-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 93,428 kB
  • sloc: xml: 396,442; perl: 4,471; python: 879; makefile: 150; sh: 66
file content (17 lines) | stat: -rwxr-xr-x 617 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@ECHO OFF
SET HHC="c:\Program Files\HTML Help Workshop\hhc.exe"
REM Sorry for MS-DOS batch file, but you probably never will be able to produce CHMs on Unix box
REM Script expects that saxon command is able to run Saxon processor and that your copy 
REM of HTML Help Workshop is installed in common place

xcopy /s /y /i figures\100dpi htmlhelp\figures
xcopy /s /y /i ..\glyphs\100dpi htmlhelp\glyphs\100dpi
xcopy /i /y html\defguide.css htmlhelp\defguide.css

call saxon tdg.xml stylesheets/htmlhelp.xsl
%HHC% htmlhelp.hhp

call saxon tdgex.xml stylesheets/htmlhelp.xsl "output.type=unexpanded"
%HHC% htmlhelp.hhp