5 Permission is hereby granted, free of charge, to any person obtaining
6 a copy of this software and associated documentation files (the
7 "Software"), to deal in the Software without restriction, including
8 without limitation the rights to use, copy, modify, merge, publish,
9 distribute, sublicense, and/or sell copies of the Software, and to
10 permit persons to whom the Software is furnished to do so, subject to
11 the following conditions:
13 The above copyright notice and this permission notice shall be included
14 in all copies or substantial portions of the Software.
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
17 KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
18 WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26 <!doctype book PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
29 <!ENTITY % version SYSTEM "../version.sgml">
32 <!ENTITY % scons SYSTEM "../scons.mod">
35 <!ENTITY % builders-mod SYSTEM "builders.mod">
38 <!ENTITY % tools-mod SYSTEM "tools.mod">
41 <!ENTITY % variables-mod SYSTEM "variables.mod">
44 <!ENTITY actions SYSTEM "actions.sgml">
45 <!ENTITY alias SYSTEM "alias.sgml">
46 <!ENTITY ant SYSTEM "ant.sgml">
47 <!ENTITY build-install SYSTEM "build-install.sgml">
48 <!ENTITY builders SYSTEM "builders.sgml">
49 <!ENTITY builders-built-in SYSTEM "builders-built-in.sgml">
50 <!ENTITY builders-commands SYSTEM "builders-commands.sgml">
51 <!ENTITY builders-writing SYSTEM "builders-writing.sgml">
52 <!ENTITY caching SYSTEM "caching.sgml">
53 <!ENTITY command-line SYSTEM "command-line.sgml">
54 <!ENTITY cons SYSTEM "cons.sgml">
55 <!ENTITY copyright SYSTEM "copyright.sgml">
56 <!ENTITY depends SYSTEM "depends.sgml">
57 <!ENTITY ENV_file SYSTEM "ENV.sgml">
58 <!ENTITY environments SYSTEM "environments.sgml">
59 <!ENTITY errors SYSTEM "errors.sgml">
60 <!ENTITY example SYSTEM "example.sgml">
61 <!ENTITY factories SYSTEM "factories.sgml">
62 <!ENTITY file-removal SYSTEM "file-removal.sgml">
63 <!ENTITY help SYSTEM "help.sgml">
64 <!ENTITY hierarchy SYSTEM "hierarchy.sgml">
65 <!ENTITY java SYSTEM "java.sgml">
66 <!ENTITY install SYSTEM "install.sgml">
67 <!ENTITY less-simple SYSTEM "less-simple.sgml">
68 <!ENTITY libraries SYSTEM "libraries.sgml">
69 <!ENTITY make SYSTEM "make.sgml">
70 <!ENTITY nodes SYSTEM "nodes.sgml">
71 <!ENTITY parseconfig SYSTEM "parseconfig.sgml">
72 <!ENTITY preface SYSTEM "preface.sgml">
73 <!ENTITY python SYSTEM "python.sgml">
74 <!ENTITY repositories SYSTEM "repositories.sgml">
75 <!ENTITY run SYSTEM "run.sgml">
76 <!ENTITY scanners SYSTEM "scanners.sgml">
77 <!ENTITY sconf SYSTEM "sconf.sgml">
78 <!ENTITY separate SYSTEM "separate.sgml">
79 <!ENTITY simple SYSTEM "simple.sgml">
80 <!ENTITY sourcecode SYSTEM "sourcecode.sgml">
81 <!ENTITY tasks SYSTEM "tasks.sgml">
82 <!ENTITY tools SYSTEM "tools.sgml">
83 <!ENTITY troubleshoot SYSTEM "troubleshoot.sgml">
84 <!ENTITY variables SYSTEM "variables.sgml">
85 <!ENTITY variants SYSTEM "variants.sgml">
87 <!ENTITY builders-gen SYSTEM "builders.gen">
88 <!ENTITY tools-gen SYSTEM "tools.gen">
89 <!ENTITY variables-gen SYSTEM "variables.gen">
95 <title>SCons User Guide &buildversion;</title>
98 <firstname>Steven</firstname>
99 <surname>Knight</surname>
102 <edition>Revision &buildrevision; (&builddate;)</edition>
104 <pubdate>2004, 2005, 2006, 2007</pubdate>
107 <year>2004, 2005, 2006, 2007</year>
108 <holder>Steven Knight</holder>
115 <releaseinfo>version &buildversion;</releaseinfo>
119 <preface id="chap-preface">
120 <title>Preface</title>
124 <chapter id="chap-build-install">
125 <title>Building and Installing &SCons;</title>
129 <chapter id="chap-simple">
130 <title>Simple Builds</title>
134 <chapter id="chap-less-simple">
135 <title>Less Simple Things to Do With Builds</title>
139 <chapter id="chap-libraries">
140 <title>Building and Linking with Libraries</title>
144 <chapter id="chap-nodes">
145 <title>Node Objects</title>
149 <chapter id="chap-depends">
150 <title>Dependencies</title>
154 <chapter id="chap-environments">
155 <title>Construction Environments</title>
161 <chapter id="chap-parseconfig">
162 <title>Finding Installed Library Information: the &ParseConfig; Function</title>
168 <chapter id="chap-ENV">
169 <title>Controlling the External Environment Used to Execute Build Commands</title>
173 <chapter id="chap-command-line">
174 <title>Controlling a Build From the Command Line</title>
178 <chapter id="chap-help">
179 <title>Providing Build Help: the &Help; Function</title>
183 <chapter id="chap-install">
184 <title>Installing Files in Other Directories: the &Install; Builder</title>
188 <chapter id="chap-factories">
189 <title>Platform-Independent File System Manipulation</title>
193 <chapter id="chap-file-removal">
194 <title>Preventing Removal of Targets</title>
198 <chapter id="chap-hierarchical">
199 <title>Hierarchical Builds</title>
203 <chapter id="chap-separate">
204 <title>Separating Source and Build Directories</title>
208 <chapter id="chap-variants">
209 <title>Variant Builds</title>
215 <chapter id="chap-builders-built-in">
216 <title>Built-In Builders</title>
222 <chapter id="chap-builders-writing">
223 <title>Writing Your Own Builders</title>
227 <chapter id="chap-builders-commands">
228 <title>Not Writing a Builder: the &Command; Builder</title>
234 <chapter id="chap-actions">
235 <title>&SCons; Actions</title>
241 <chapter id="chap-scanners">
242 <title>Writing Scanners</title>
246 <chapter id="chap-repositories">
247 <title>Building From Code Repositories</title>
251 <chapter id="chap-sconf">
252 <title>Multi-Platform Configuration (&Autoconf; Functionality)</title>
258 <chapter id="chap-sourcecode">
259 <title>Fetching Files From Source Code Management Systems</title>
265 <chapter id="chap-caching">
266 <title>Caching Built Files</title>
270 <chapter id="chap-alias">
271 <title>Alias Targets</title>
275 <chapter id="chap-java">
276 <title>Java Builds</title>
282 <chapter id="chap-run">
283 <title>How to Run &SCons;</title>
289 <chapter id="chap-troubleshooting">
290 <title>Troubleshooting</title>
309 <appendix id="app-variables">
310 <title>Construction Variables</title>
314 <appendix id="app-builders">
315 <title>Builders</title>
319 <appendix id="app-tools">
324 <appendix id="app-tasks">
325 <title>Handling Common Tasks</title>
331 <appendix id="app-python">
332 <title>Python Overview</title>
336 <appendix id="app-example">
337 <title>Complex &SCons; Example</title>
341 <appendix id="app-make">
342 <title>Converting From Make</title>
346 <appendix id="app-cons">
347 <title>Converting From Cons</title>
351 <appendix id="app-ant">
352 <title>Converting From Ant</title>