summaryrefslogtreecommitdiff
path: root/src/engine/SCons/Variables/PackageVariable.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-08-31 19:57:51 -0700
committerWilliam Deegan <bill@baddogconsulting.com>2017-08-31 19:57:51 -0700
commit9c4fb40fbe108ba7ad9a37f25c2929269adbb107 (patch)
tree7f2a3a36201d9548ce6f62e742a467e07b7d8422 /src/engine/SCons/Variables/PackageVariable.py
parent6fcbd22acf9b6bdc6cb838ae00dec2fe7af7b035 (diff)
downloadscons-9c4fb40fbe108ba7ad9a37f25c2929269adbb107.tar.gz
Fix many epydoc warnings
Diffstat (limited to 'src/engine/SCons/Variables/PackageVariable.py')
-rw-r--r--src/engine/SCons/Variables/PackageVariable.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/engine/SCons/Variables/PackageVariable.py b/src/engine/SCons/Variables/PackageVariable.py
index 4ab08567..a0ace253 100644
--- a/src/engine/SCons/Variables/PackageVariable.py
+++ b/src/engine/SCons/Variables/PackageVariable.py
@@ -13,18 +13,18 @@ Usage example:
x11=yes (will search for the package installation dir)
x11=/usr/local/X11 (will check this path for existence)
- To replace autoconf's --with-xxx=yyy
-
- opts = Variables()
- opts.Add(PackageVariable('x11',
- 'use X11 installed here (yes = search some places',
- 'yes'))
- ...
- if env['x11'] == True:
- dir = ... search X11 in some standard places ...
- env['x11'] = dir
- if env['x11']:
- ... build with x11 ...
+ To replace autoconf's --with-xxx=yyy ::
+
+ opts = Variables()
+ opts.Add(PackageVariable('x11',
+ 'use X11 installed here (yes = search some places',
+ 'yes'))
+ ...
+ if env['x11'] == True:
+ dir = ... search X11 in some standard places ...
+ env['x11'] = dir
+ if env['x11']:
+ ... build with x11 ...
"""
#