summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SConstruct9
1 files changed, 6 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index 719d6c0f..124814f6 100644
--- a/SConstruct
+++ b/SConstruct
@@ -969,9 +969,12 @@ else:
else:
announce("Build of man and HTML documentation is disabled.")
if manbuilder:
- env['BUILDERS']["Man"] = Builder(action=manbuilder)
- env['BUILDERS']["HTML"] = Builder(action=htmlbuilder,
- src_suffix=".xml", suffix=".html")
+ # 18.2. Attaching a Builder to a Construction Environment
+ env.Append(BUILDERS = {"Man" : Builder(action=manbuilder,
+ src_suffix=".xml")})
+ env.Append(BUILDERS = {"HTML" : Builder(action=htmlbuilder,
+ src_suffix=".xml",
+ suffix=".html")})
# Determine if Qt network libraries are present, and
# if not, force qt to off