Imported Robodoc.
[robodoc.git] / Docs / makefile.cygwin
1 # Make the documentation under the CYGWIN environment...
2 # $Id: makefile.cygwin,v 1.3 2006/08/06 20:46:21 thuffir Exp $
3
4 CP = cp
5 RM = rm -rf
6
7 SOURCE =  manual.xml preparing.xml options.xml tips.xml installing.xml examples.xml extracting.xml bugs.xml configuration.xml header_examples.xml
8
9
10 # Manual as a single HTML file
11 manual.html : $(SOURCE) manual-cygwin.xsl
12         xsltproc manual-cygwin.xsl manual.xml > manual.html
13
14 header_examples.xml : header_specs.pl 
15         perl header_specs.pl
16
17 # Manual in Windows help format.
18 htmlhelp.chm : $(SOURCE) manual_html_help-cygwin.xsl
19         xsltproc manual_html_help-cygwin.xsl manual.xml
20         -hhc htmlhelp.hhp
21         $(CP) htmlhelp.chm manual.chm
22
23 # Clean up.
24 clean :
25         $(RM) \
26         manual.html \
27         index.html \
28         ar*.html \
29         *.chm \
30         *.hhc \
31         *.hhp \
32         header_examples.xml \
33
34 all : manual.html htmlhelp.chm
35
36 # Lint the manual to detect errors against the DTD.
37 test : manual.html
38         xmllint --noent --noout manual.xml