Fix file permission brain damage.
[mspang/www.git] / docs / execmanual / Makefile
1 STYLESHEET = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/docbook.xsl
2 FOSTYLESHEET = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/fo/docbook.xsl
3 XSLTPROC = xsltproc
4 XMLS = $(wildcard *.xml)
5 HTMLS = $(XMLS:.xml=.html)
6
7 #all: book.html book.tex book.pdf
8 all: book.html
9
10 clean-recurse: clean
11
12 clean:
13         rm -f *.html *.fot *.out *.fo *.pdf *.log *.aux *.ps *.dvi *.tex
14
15 book.html: $(XMLS)
16
17 %.html: %.xml
18         $(XSLTPROC) $(STYLESHEET) $< > $@
19
20 %.fo: %.xml
21         $(XSLTPROC) $(FOSTYLESHEET) $< > $@
22
23 #%.pdf: %.fo
24 #       pdfxmltex $<
25
26 %.tex: %.xml
27         openjade -t tex -d /usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl $<
28
29 %.dvi: %.tex
30         jadetex $<
31
32 %.pdf: %.tex
33         pdfjadetex $<
34
35 %.ps: %.dvi
36         dvips -o $@ $<