diff options
author | Kai Blin <kai@samba.org> | 2010-05-31 09:39:44 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2010-05-31 09:40:14 +0200 |
commit | e3997c2a6d82276cc736686099ab897fa4fd0047 (patch) | |
tree | 2ddb70a81b8dfc4e52a3c110bca47f15d6422955 /buildtools/wafsamba | |
parent | cd2dd331032895259e0875c717e8d9f5e6de301f (diff) | |
download | samba-e3997c2a6d82276cc736686099ab897fa4fd0047.tar.gz samba-e3997c2a6d82276cc736686099ab897fa4fd0047.tar.bz2 samba-e3997c2a6d82276cc736686099ab897fa4fd0047.zip |
wafsamba: Correctly detect if bld.env.XSLTPROC is not set
This fixes the build on some build farm hosts and my machine.
Jelmer, please check.
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r-- | buildtools/wafsamba/wafsamba.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index eb5aa91d2d..41b866d05c 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -299,7 +299,7 @@ def SAMBA_BINARY(bld, binname, source, if subsystem_name is not None: bld.TARGET_ALIAS(subsystem_name, binname) - if manpages is not None and bld.env.XSLTPROC is not None: + if manpages is not None and 'XSLTPROC' in bld.env: bld.env.MAN_XSL = 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl' for m in manpages.split(): source = m + '.xml' |