summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-03-27 18:54:58 -0700
committerGary E. Miller <gem@rellim.com>2019-03-27 18:54:58 -0700
commit32459eb0c8ed66a87cf4d0a40dfd61f1aa316287 (patch)
treef33763974aac56633d4ab0b5ea2d9326b5b0d51c /SConstruct
parentf718f6779fd588c5252f8d14818cf2d474f896e7 (diff)
downloadgpsd-32459eb0c8ed66a87cf4d0a40dfd61f1aa316287.tar.gz
SConstruct: Change manbuilder to work with scons 3.0.5
env is not the playground it once was. scons 3.0.5 still broken with gpsd...
Diffstat (limited to 'SConstruct')
-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