diff --git a/ChangeLog b/ChangeLog index 546bc03..e6fa28b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,7 @@ Version NEXT Do not use sgmlformat, call jade directly correctly zero entire sockaddr_in structure during name resolving, error found by clang. + allow docbook dsssl stylesheets to be specified at scons command line Version 2.8.1b26 - 1 Oct 2009 fver now reports if server can process extra data in input packets. diff --git a/INSTALL b/INSTALL index fde235c..21ba04a 100644 --- a/INSTALL +++ b/INSTALL @@ -55,6 +55,7 @@ SCons command line options: sysconfdir=directory where to look for fspd and client configuration files. Default prefix/etc without-clients=yes dont build and install client commands + dsssl=directory Look for DocBook DSSSL Stylesheets there Client utilities: All inter-command states are kept in these three shell environment diff --git a/site_scons/dsssl.py b/site_scons/dsssl.py index 9544d65..351aaca 100644 --- a/site_scons/dsssl.py +++ b/site_scons/dsssl.py @@ -1,12 +1,13 @@ # # SCons Locate DSSSL docbook stylesheets # -# Version 1.1 -# 08-Sep-2014 +# Version 1.2 +# 09-Sep-2014 # import os import stat +from SCons.Script import ARGUMENTS def findDocbookStylesheets(check): """Return path to Docbook stylesheets or None.""" @@ -14,6 +15,8 @@ def findDocbookStylesheets(check): "/usr/local/share/sgml/docbook/dsssl/modular", "/usr/share/sgml/stylesheets/dsssl/docbook" ] + customdsssl = ARGUMENTS.get('dsssl', None) + if customdsssl: directories.insert(0, customdsssl) files = [ "html/docbook.dsl", "catalog", "common/dbcommon.dsl" ] check.Message("Locating Docbook DSSSL Stylesheets... ") for d in directories: