diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-06-14 20:07:50 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-06-14 20:07:50 (GMT) |
commit | 8ea37bc5fb8ba4357fc1e3464e96583fe651da93 (patch) | |
tree | f7701c9e55cb87a431ae59186ed194ea059134f5 /BuildTools/SCons | |
parent | 9f542c719460650f1eb63b651ff1576362e5eeac (diff) | |
download | swift-contrib-8ea37bc5fb8ba4357fc1e3464e96583fe651da93.zip swift-contrib-8ea37bc5fb8ba4357fc1e3464e96583fe651da93.tar.bz2 |
Remove DocBook from Debian sources.
Diffstat (limited to 'BuildTools/SCons')
-rw-r--r-- | BuildTools/SCons/SConstruct | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct index c3ad8d1..0a76ddf 100644 --- a/BuildTools/SCons/SConstruct +++ b/BuildTools/SCons/SConstruct @@ -29,6 +29,8 @@ if os.name == "nt" : vars.Add(PackageVariable("bonjour", "Bonjour SDK location", "yes")) vars.Add(PackageVariable("openssl", "OpenSSL location", "yes")) vars.Add(PathVariable("qt", "Qt location", "", PathVariable.PathAccept)) +vars.Add(PathVariable("docbook_xml", "DocBook XML", None, PathVariable.PathAccept)) +vars.Add(PathVariable("docbook_xsl", "DocBook XSL", None, PathVariable.PathAccept)) ################################################################################ # Set up default build & configure environment @@ -404,6 +406,18 @@ elif env.get("bonjour", False) : env["BONJOUR_FLAGS"]["LIBS"] = ["dnssd"] bonjour_conf.Finish() + +################################################################################ +# DocBook setup +################################################################################ + +if env.get("docbook_xml") : + env["DOCBOOK_XML_DIR"] = env["docbook_xml"] +if env.get("docbook_xsl") : + env["DOCBOOK_XSL_DIR"] = env["docbook_xsl"] +print env["DOCBOOK_XSL_DIR"] + + ################################################################################ # Set up git hooks ################################################################################ |