mirror of
https://github.com/Relintai/scons_gd.git
synced 2025-02-18 17:14:38 +01:00
14 lines
421 B
Batchfile
14 lines
421 B
Batchfile
import xsltver
|
|
|
|
v = xsltver.detectXsltVersion('/usr/share/xml/docbook/stylesheet/docbook-xsl')
|
|
|
|
ns_ext = ''
|
|
if v >= (1, 78, 0):
|
|
# Use namespace-aware input file
|
|
ns_ext = 'ns'
|
|
|
|
env = Environment(DOCBOOK_PREFER_XSLTPROC=1, tools=['docbook'])
|
|
env.Append(DOCBOOK_XSLTPROCFLAGS=['--novalid', '--nonet'])
|
|
env.DocbookSlidesHtml('virt'+ns_ext, xsl='/usr/share/xml/docbook/stylesheet/docbook-xsl/slides/xhtml/plain.xsl')
|
|
|