Deprecate $WIN32 variables name in place of $WINDOWS* variables names, and eliminate...
[scons.git] / doc / user / sourcecode.in
1 <!--
2
3   __COPYRIGHT__
4
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:
12
13   The above copyright notice and this permission notice shall be included
14   in all copies or substantial portions of the Software.
15
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.
23
24 -->
25
26 <!--
27
28 -->
29
30  <para>
31
32    XXX
33
34  </para>
35
36  <section>
37  <title>Fetching Source Code From BitKeeper</title>
38
39    <para>
40
41    XXX
42
43    </para>
44
45    <scons_example name="ex_bitkeeper">
46       <file name="SConstruct" printme="1">
47       env = Environment()
48       env.SourceCode('.', env.BitKeeper())
49       env.Program('hello.c')
50       </file>
51       <file name="s.hello.c">
52       s.hello.c
53       </file>
54    </scons_example>
55
56    <scons_output example="ex_bitkeeper">
57      <scons_output_command>scons -Q</scons_output_command>
58    </scons_output>
59
60  </section>
61
62  <section>
63  <title>Fetching Source Code From CVS</title>
64
65    <para>
66
67    XXX
68
69    </para>
70
71    <scons_example name="ex_cvs">
72       <file name="SConstruct" printme="1">
73       env = Environment()
74       env.SourceCode('.', env.CVS('/usr/local/CVS'))
75       env.Program('hello.c')
76       </file>
77    </scons_example>
78
79    <scons_output example="ex_cvs">
80      <scons_output_command>scons -Q</scons_output_command>
81    </scons_output>
82
83  </section>
84
85  <section>
86  <title>Fetching Source Code From RCS</title>
87
88    <para>
89
90    XXX
91
92    </para>
93
94    <scons_example name="ex_rcs">
95       <file name="SConstruct" printme="1">
96       env = Environment()
97       env.SourceCode('.', env.RCS())
98       env.Program('hello.c')
99       </file>
100       <file name="hello.c,v">
101       hello.c,v
102       </file>
103    </scons_example>
104
105    <scons_output example="ex_rcs">
106      <scons_output_command>scons -Q</scons_output_command>
107    </scons_output>
108
109  </section>
110
111  <section>
112  <title>Fetching Source Code From SCCS</title>
113
114    <para>
115
116    XXX
117
118    </para>
119
120    <scons_example name="ex_sccs">
121       <file name="SConstruct" printme="1">
122       env = Environment()
123       env.SourceCode('.', env.SCCS())
124       env.Program('hello.c')
125       </file>
126       <file name="s.hello.c">
127       s.hello.c
128       </file>
129    </scons_example>
130
131    <scons_output example="ex_sccs">
132      <scons_output_command>scons -Q</scons_output_command>
133    </scons_output>
134
135  </section>
136
137  <!--
138
139  <section>
140  <title>Fetching Source Code From Subversion</title>
141
142    <para>
143
144    XXX
145
146    </para>
147
148    <scons_example name="ex_subversion">
149       <file name="SConstruct" printme="1">
150       env = Environment()
151       env.SourceCode('.', env.Subversion('XXX'))
152       env.Program('hello.c')
153       </file>
154    </scons_example>
155
156    <scons_output example="ex_subversion">
157      <scons_output_command>scons -Q</scons_output_command>
158    </scons_output>
159
160  </section>
161
162  -->