allow dsssl stylesheets to be specified at scons command line
This commit is contained in:
parent
863bff21a0
commit
626c1dac57
|
|
@ -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.
|
||||
|
|
|
|||
1
INSTALL
1
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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user