1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <!--
3
-
4
- __COPYRIGHT__
5
-
6
- Permission is hereby granted, free of charge, to any person obtaining
7
- a copy of this software and associated documentation files (the
8
- "Software"), to deal in the Software without restriction, including
9
- without limitation the rights to use, copy, modify, merge, publish,
10
- distribute, sublicense, and/or sell copies of the Software, and to
11
- permit persons to whom the Software is furnished to do so, subject to
12
- the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included
15
- in all copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
18
- KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
19
- WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
21
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
22
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
23
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
2
3
+ <!--
4
+ SPDX-FileCopyrightText: Copyright The SCons Foundation (https://scons.org)
5
+ SPDX-License-Identifier: MIT
25
6
-->
26
7
8
+ <!DOCTYPE reference [
9
+ <!ENTITY % version SYSTEM " ../version.xml" >
10
+ %version;
11
+ <!ENTITY % scons SYSTEM ' ../scons.mod' >
12
+ %scons;
13
+ ]>
14
+
27
15
<refentry id =' sconsign1'
28
16
xmlns =" http://www.scons.org/dbxsd/v1.0"
29
17
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
48
36
</refsynopsisdiv >
49
37
50
38
51
- <refsect1 id =' description' ><title >DESCRIPTION</title >
39
+ <refsect1 id =' description' >
40
+ <title >DESCRIPTION</title >
52
41
<para >
53
42
Displays the contents of one or more
54
- <firstterm >sconsign files</firstterm >,
55
- the signature database files
56
- used by the <application >SCons</application > build tool.
43
+ <firstterm >sconsign</firstterm > files,
44
+ the signature/dependency database
45
+ used by the &SCons; build tool.
46
+ The database contains all Nodes that are known to the build,
47
+ either by declaration in the build configuration,
48
+ produced as side effects, or detected by inspection.
57
49
</para >
58
50
59
51
<para >By default,
@@ -64,26 +56,40 @@ Without options,
64
56
individual dependency entries are printed in the following format:</para >
65
57
66
58
<screen >
67
- depfile: signature timestamp length
68
- implicit_dependency_1: content_signature timestamp length
69
- implicit_dependency_2: content_signature timestamp length
59
+ depfile: content- signature timestamp length
60
+ implicit-dependency-1: content-signature timestamp length
61
+ implicit-dependency-2: content-signature timestamp length
70
62
...
71
- action_signature [action string]
63
+ build-signature [action- string]
72
64
</screen >
73
65
74
- <para ><emphasis role =" bold" >None</emphasis >
66
+ <para >
67
+ <emphasis role =" bold" >content-signature</emphasis >
68
+ is the hash of the file's contents (<firstterm >csig</firstterm >)
69
+ and <emphasis role =" bold" >build-signature</emphasis >
70
+ is the hash of the command line or other build action
71
+ used to build a target (<firstterm >bactsig</firstterm >).
72
+ If provided,
73
+ <emphasis role =" bold" >action-string</emphasis >
74
+ is the unexpanded string action or the function called.
75
+ <emphasis role =" bold" >None</emphasis >
75
76
is printed in place of any missing timestamp,
76
- <firstterm >content signature</firstterm >
77
- (<emphasis role =" bold" >csig</emphasis >)
78
- or
79
- <firstterm >build action signature</firstterm >
80
- values for any entry
81
- or any of its dependencies.
77
+ <emphasis role =" bold" >csig</emphasis >,
78
+ or <emphasis role =" bold" >bactsig</emphasis >
79
+ values for any entry or any of its dependencies.
82
80
If the entry has no implicit dependencies,
83
81
or no build action,
84
- those lines are omitted.</para >
82
+ the corresponding lines are omitted.
83
+ </para >
85
84
86
- <para >By default,
85
+ <para >
86
+ An indicator line is printed for each directory,
87
+ as directories do not have signatures in the database
88
+ and so would not otherwise be shown.
89
+ </para >
90
+
91
+ <para >
92
+ By default,
87
93
<command >sconsign</command >
88
94
assumes that any
89
95
<replaceable >file</replaceable >
@@ -92,14 +98,13 @@ arguments that end with a
92
98
suffix contains
93
99
signature entries for
94
100
more than one directory
95
- (that is,
96
- was specified by the
101
+ (that is, was specified by the
97
102
<function >SConsignFile</function >
98
- function).
103
+ &SCons; function).
99
104
Any
100
105
<replaceable >file</replaceable >
101
106
argument that has no suffix
102
- is assumed to be an old-style
107
+ is assumed to be an old-style (deprecated)
103
108
sconsign file containing the signature entries
104
109
for a single directory.
105
110
If neither of those is true,
@@ -299,7 +304,8 @@ for all entries or the specified entries.</para>
299
304
<refsect1 id =' see_also' >
300
305
<title >SEE ALSO</title >
301
306
<para >
302
- <command >scons</command >,
307
+ The &SCons; reference (manpage) at
308
+ <ulink url =" https://scons.org/doc/production/HTML/scons-man.html" />,
303
309
the SCons User Guide at
304
310
<ulink url =" https://scons.org/doc/production/HTML/scons-user.html" />,
305
311
the SCons source code
0 commit comments