Add an outline for a User's Guide.
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Wed, 19 Sep 2001 14:29:08 +0000 (14:29 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Wed, 19 Sep 2001 14:29:08 +0000 (14:29 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@56 fdb21ef1-2011-0410-befe-b5e4ea1792b1

22 files changed:
doc/Conscript
doc/scons.mod
doc/user/.aeignore [new file with mode: 0644]
doc/user/builders.sgml [new file with mode: 0644]
doc/user/caching.sgml [new file with mode: 0644]
doc/user/cons.sgml [new file with mode: 0644]
doc/user/depends.sgml [new file with mode: 0644]
doc/user/environments.sgml [new file with mode: 0644]
doc/user/errors.sgml [new file with mode: 0644]
doc/user/example.sgml [new file with mode: 0644]
doc/user/hierarchy.sgml [new file with mode: 0644]
doc/user/main.sgml [new file with mode: 0644]
doc/user/make.sgml [new file with mode: 0644]
doc/user/more.sgml [new file with mode: 0644]
doc/user/preface.sgml [new file with mode: 0644]
doc/user/reference.sgml [new file with mode: 0644]
doc/user/repositories.sgml [new file with mode: 0644]
doc/user/run.sgml [new file with mode: 0644]
doc/user/scanners.sgml [new file with mode: 0644]
doc/user/simple.sgml [new file with mode: 0644]
doc/user/troubleshoot.sgml [new file with mode: 0644]
doc/user/variants.sgml [new file with mode: 0644]

index 9e5f0d9d44a7d9522330e30393d0ba29fd8eb9db..8a5f15f9a31630e28980891a76222cef483cfd0e 100644 (file)
@@ -48,6 +48,9 @@ Ignore("version.sgml");
                'html'  => 'scons.html',
                'text'  => 1,
        },
+    'user' => {
+               'html'  => 'book1.html',
+       },
 );
 
 # Find internal dependencies in .sgml files:
index 7e5470e4ac57246a2afd8ef1dd15c3646fd67383..7a3668540bcd4c8a2123441d647748cf5fccc77e 100644 (file)
@@ -57,7 +57,7 @@
 
 <!--
 
-  Methods and functions.  This includes both functions from both
+  Methods and functions.  This includes functions from both
   the Build Engine and the Native Python Interface.
 
 -->
 <!ENTITY Alias "<function>Alias</function>">
 <!ENTITY Aliases "<function>Aliases</function>">
 <!ENTITY Build "<function>Build</function>">
+<!ENTITY Cache "<function>Cache</function>">
 <!ENTITY Clean "<function>Clean</function>">
+<!ENTITY Clone "<function>Clone</function>">
 <!ENTITY Command "<function>Command</function>">
 <!ENTITY Copy "<function>Copy</function>">
 <!ENTITY Default "<function>Default</function>">
+<!ENTITY DefaultRules "<function>DefaultRules</function>">
+<!ENTITY Depends "<function>Depends</function>">
 <!ENTITY Environment "<function>Environment</function>">
 <!ENTITY Export "<function>Export</function>">
 <!ENTITY Help "<function>Help</function>">
+<!ENTITY Ignore "<function>Ignore</function>">
+<!ENTITY Install "<function>Install</function>">
+<!ENTITY InstallAs "<function>InstallAs</function>">
 <!ENTITY Link "<function>Link</function>">
 <!ENTITY Local "<function>Local</function>">
+<!ENTITY Module "<function>Module</function>">
+<!ENTITY Objects "<function>Objects</function>">
 <!ENTITY Precious "<function>Precious</function>">
 <!ENTITY Repository "<function>Repository</function>">
+<!ENTITY RuleSet "<function>RuleSet</function>">
+<!ENTITY Salt "<function>Salt</function>">
+<!ENTITY SourceSignature "<function>SourceSignature</function>">
 <!ENTITY Task "<function>Task</function>">
 
 
 
 
 
+<!--
+
+  Environment variables.
+
+-->
+
+<!ENTITY SCONSFLAGS "<varname>SCONSFLAGS</varname>">
+
+
+
 <!--
 
   Builder and Scanner objects.
diff --git a/doc/user/.aeignore b/doc/user/.aeignore
new file mode 100644 (file)
index 0000000..872e8be
--- /dev/null
@@ -0,0 +1,3 @@
+*,D
+.*.swp
+.consign
diff --git a/doc/user/builders.sgml b/doc/user/builders.sgml
new file mode 100644 (file)
index 0000000..f74f1aa
--- /dev/null
@@ -0,0 +1,32 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+ <para>
+
+   X
+
+ </para>
+
+ <section>
+ <title>Builders That Execute External Commands</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>Builders That Execute Python Functions</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
diff --git a/doc/user/caching.sgml b/doc/user/caching.sgml
new file mode 100644 (file)
index 0000000..66db8ad
--- /dev/null
@@ -0,0 +1,21 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+ <para>
+
+   X
+
+ </para>
+
+ <section>
+ <title>The &Cache; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
diff --git a/doc/user/cons.sgml b/doc/user/cons.sgml
new file mode 100644 (file)
index 0000000..2514e74
--- /dev/null
@@ -0,0 +1,21 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+ <para>
+
+   X
+
+ </para>
+
+ <section>
+ <title>X</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
diff --git a/doc/user/depends.sgml b/doc/user/depends.sgml
new file mode 100644 (file)
index 0000000..eb5c422
--- /dev/null
@@ -0,0 +1,76 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+ <para>
+
+   X
+
+ </para>
+
+ <section>
+ <title>MD5 Signatures</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>Time Stamps</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &Depends; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &Ignore; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &Salt; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &SourceSignature; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
diff --git a/doc/user/environments.sgml b/doc/user/environments.sgml
new file mode 100644 (file)
index 0000000..59ad3cf
--- /dev/null
@@ -0,0 +1,43 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+ <para>
+
+   X
+
+ </para>
+
+ <section>
+ <title>The &Environment; Constructor</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &Clone; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &Copy; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
diff --git a/doc/user/errors.sgml b/doc/user/errors.sgml
new file mode 100644 (file)
index 0000000..2514e74
--- /dev/null
@@ -0,0 +1,21 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+ <para>
+
+   X
+
+ </para>
+
+ <section>
+ <title>X</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
diff --git a/doc/user/example.sgml b/doc/user/example.sgml
new file mode 100644 (file)
index 0000000..2514e74
--- /dev/null
@@ -0,0 +1,21 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+ <para>
+
+   X
+
+ </para>
+
+ <section>
+ <title>X</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
diff --git a/doc/user/hierarchy.sgml b/doc/user/hierarchy.sgml
new file mode 100644 (file)
index 0000000..3b5e24f
--- /dev/null
@@ -0,0 +1,32 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+ <para>
+
+   X
+
+ </para>
+
+ <section>
+ <title>&SConscript; Files</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>X</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
diff --git a/doc/user/main.sgml b/doc/user/main.sgml
new file mode 100644 (file)
index 0000000..eb7ab39
--- /dev/null
@@ -0,0 +1,153 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+
+<!doctype book PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
+[
+
+    <!ENTITY % version SYSTEM "../version.sgml">
+    %version;
+
+    <!ENTITY % scons SYSTEM "../scons.mod">
+    %scons;
+
+    <!ENTITY preface SYSTEM "preface.sgml">
+    <!ENTITY simple SYSTEM "simple.sgml">
+    <!ENTITY environments SYSTEM "environments.sgml">
+    <!ENTITY depends SYSTEM "depends.sgml">
+    <!ENTITY more SYSTEM "more.sgml">
+    <!ENTITY hierarchy SYSTEM "hierarchy.sgml">
+    <!ENTITY variants SYSTEM "variants.sgml">
+    <!ENTITY builders SYSTEM "builders.sgml">
+    <!ENTITY scanners SYSTEM "scanners.sgml">
+    <!ENTITY repositories SYSTEM "repositories.sgml">
+    <!ENTITY caching SYSTEM "caching.sgml">
+    <!ENTITY run SYSTEM "run.sgml">
+    <!ENTITY troubleshoot SYSTEM "troubleshoot.sgml">
+    <!ENTITY reference SYSTEM "reference.sgml">
+    <!ENTITY errors SYSTEM "errors.sgml">
+    <!ENTITY example SYSTEM "example.sgml">
+    <!ENTITY make SYSTEM "make.sgml">
+    <!ENTITY cons SYSTEM "cons.sgml">
+
+]>
+
+<book>
+  <bookinfo>
+    <title>SCons User Guide &build_version;</title>
+
+    <author>
+      <firstname>Steven</firstname>
+      <surname>Knight</surname>
+    </author>
+
+    <edition>Revision &build_revision; (&build_date;)</edition>
+
+    <pubdate>2001</pubdate>
+
+    <copyright>
+      <year>2001</year>
+      <holder>Steven Knight</holder>
+    </copyright>
+
+    <legalnotice>
+      &copyright;
+    </legalnotice>
+
+    <releaseinfo>version &build_version;</releaseinfo>
+
+  </bookinfo>
+
+  <chapter id="chap-preface">
+    <title>Preface</title>
+    &preface;
+  </chapter>
+
+  <chapter id="chap-simple">
+    <title>Simple Builds</title>
+    &simple;
+  </chapter>
+
+  <chapter id="chap-environments">
+    <title>Construction Environments</title>
+    &environments;
+  </chapter>
+
+  <chapter id="chap-depends">
+    <title>Dependencies</title>
+    &depends;
+  </chapter>
+
+  <chapter id="chap-more">
+    <title>More Things to Do With Builds</title>
+    &more;
+  </chapter>
+
+  <chapter id="chap-hierarchical">
+    <title>Hierarchial Builds</title>
+    &hierarchy;
+  </chapter>
+
+  <chapter id="chap-variant">
+    <title>Variant Builds</title>
+    &variants;
+  </chapter>
+
+  <chapter id="chap-builders">
+    <title>Writing Builders</title>
+    &builders;
+  </chapter>
+
+  <chapter id="chap-scanners">
+    <title>Writing Scanners</title>
+    &scanners;
+  </chapter>
+
+  <chapter id="chap-repositories">
+    <title>Building From Code Repositories</title>
+    &repositories;
+  </chapter>
+
+  <chapter id="chap-caching">
+    <title>Caching Built Files</title>
+    &caching;
+  </chapter>
+
+  <chapter id="chap-run">
+    <title>How to Run &SCons;</title>
+    &run;
+  </chapter>
+
+  <chapter id="chap-troubleshooting">
+    <title>Troubleshooting</title>
+    &troubleshoot;
+  </chapter>
+
+  <appendix id="app-quick">
+    <title>Quick Reference</title>
+    &reference;
+  </appendix>
+
+  <appendix id="app-errors">
+    <title>Errors Generated by &SCons;</title>
+    &errors;
+  </appendix>
+
+  <appendix id="app-example">
+    <title>Complex &SCons; Example</title>
+    &example;
+  </appendix>
+
+  <appendix id="app-make">
+    <title>Converting From Make</title>
+    &make;
+  </appendix>
+
+  <appendix id="app-cons">
+    <title>Converting From Cons</title>
+    &cons;
+  </appendix>
+
+</book>
diff --git a/doc/user/make.sgml b/doc/user/make.sgml
new file mode 100644 (file)
index 0000000..2514e74
--- /dev/null
@@ -0,0 +1,21 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+ <para>
+
+   X
+
+ </para>
+
+ <section>
+ <title>X</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
diff --git a/doc/user/more.sgml b/doc/user/more.sgml
new file mode 100644 (file)
index 0000000..dc1d0a3
--- /dev/null
@@ -0,0 +1,109 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+ <para>
+
+   X
+
+ </para>
+
+ <section>
+ <title>The &InstallAs; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &Precious; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &Command; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &Objects; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &Program; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &Library; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &Module; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &RuleSet; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &DefaultRules; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
diff --git a/doc/user/preface.sgml b/doc/user/preface.sgml
new file mode 100644 (file)
index 0000000..2fddf4e
--- /dev/null
@@ -0,0 +1,65 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+ <para>
+
+   X
+
+ </para>
+
+ <section>
+ <title>Why &SCons;?</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>History</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>Conventions</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>Acknowledgements</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>Contact</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
diff --git a/doc/user/reference.sgml b/doc/user/reference.sgml
new file mode 100644 (file)
index 0000000..594ced1
--- /dev/null
@@ -0,0 +1,43 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+ <para>
+
+   X
+
+ </para>
+
+ <section>
+ <title>Command-Line Options</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>Default Builders</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>X</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
diff --git a/doc/user/repositories.sgml b/doc/user/repositories.sgml
new file mode 100644 (file)
index 0000000..8ba1ff7
--- /dev/null
@@ -0,0 +1,32 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+ <para>
+
+   X
+
+ </para>
+
+ <section>
+ <title>The &Repository; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>X</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
diff --git a/doc/user/run.sgml b/doc/user/run.sgml
new file mode 100644 (file)
index 0000000..3ba222f
--- /dev/null
@@ -0,0 +1,65 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+ <para>
+
+   X
+
+ </para>
+
+ <section>
+ <title>Command-line Target Aliases</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>Selective Builds</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>Build Pruning</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>Overriding Construction Variables</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &SCONSFLAGS; Environment Variable</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
diff --git a/doc/user/scanners.sgml b/doc/user/scanners.sgml
new file mode 100644 (file)
index 0000000..2514e74
--- /dev/null
@@ -0,0 +1,21 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+ <para>
+
+   X
+
+ </para>
+
+ <section>
+ <title>X</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
diff --git a/doc/user/simple.sgml b/doc/user/simple.sgml
new file mode 100644 (file)
index 0000000..eef6b45
--- /dev/null
@@ -0,0 +1,87 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+ <para>
+
+   X
+
+ </para>
+
+ <section>
+ <title>The &SConstruct; File</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &Program; Builder</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &Library; Builder</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &Install; Builder</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>Running &SCons;</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &Default; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
+
+ <section>
+ <title>The &Help; Method</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
diff --git a/doc/user/troubleshoot.sgml b/doc/user/troubleshoot.sgml
new file mode 100644 (file)
index 0000000..2514e74
--- /dev/null
@@ -0,0 +1,21 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+ <para>
+
+   X
+
+ </para>
+
+ <section>
+ <title>X</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>
diff --git a/doc/user/variants.sgml b/doc/user/variants.sgml
new file mode 100644 (file)
index 0000000..2514e74
--- /dev/null
@@ -0,0 +1,21 @@
+<!--
+
+  Copyright 2001 Steven Knight
+
+-->
+ <para>
+
+   X
+
+ </para>
+
+ <section>
+ <title>X</title>
+
+   <para>
+
+   X
+
+   </para>
+
+ </section>