1 # You may need to override this.
2 docbookxsl
= $(HOME
)/.nix-profile
/xml
/xsl
/docbook
5 XMLLINT
= xmllint
--catalogs
6 XSLTPROC
= xsltproc
--catalogs \
7 --param section.autolabel
1 \
8 --param section.label.includes.component.label
1 \
9 --param html.stylesheet
\'style.css
\' \
10 --param xref.with.number.and.title
1 \
11 --param toc.section.depth
3 \
12 --param admon.style
\'\' \
13 --param callout.graphics.extension
\'.gif
\'
16 --stringparam generate.toc
"article nop" \
17 --stringparam section.autolabel.max.depth
0 \
18 --stringparam header.rule
0
20 all: NEWS.html NEWS.txt manual.html manual.pdf
22 NEWS.html
: release-notes.xml
23 $(XSLTPROC
) --nonet
--xinclude
--output
$@
$(NEWS_OPTS
) \
24 $(docbookxsl
)/html
/docbook.xsl release-notes.xml
26 NEWS.txt
: release-notes.xml
27 $(XSLTPROC
) --nonet
--xinclude quote-literals.xsl release-notes.xml | \
28 $(XSLTPROC
) --nonet
--output
$@.tmp.html
$(NEWS_OPTS
) \
29 $(docbookxsl
)/html
/docbook.xsl
-
30 LANG
=en_US w3m
-dump
$@.tmp.html
> $@
34 $(XSLTPROC
) --nonet
--xinclude
--output manual.html \
35 $(docbookxsl
)/html
/docbook.xsl manual.xml
39 -P doc.collab.show
=0 \
40 -P latex.output.revhistory
=0 \