mirror of
https://github.com/Relintai/scons_gd.git
synced 2025-03-30 20:45:44 +02:00
13 lines
296 B
Python
13 lines
296 B
Python
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(tools=['docbook'])
|
|
env.DocbookSlidesHtml('manual.html', 'virt'+ns_ext, xsl='slides.xsl')
|
|
|