summaryrefslogtreecommitdiff
path: root/doc/man/sconsign.xml
blob: a1308ea5ad2f6237700e8cf9136cc746b2eb97e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
<?xml version="1.0" encoding="UTF-8"?>
<!--

  Copyright (c) 2001 - 2019 The SCons Foundation

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files (the
  "Software"), to deal in the Software without restriction, including
  without limitation the rights to use, copy, modify, merge, publish,
  distribute, sublicense, and/or sell copies of the Software, and to
  permit persons to whom the Software is furnished to do so, subject to
  the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
  KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

-->

<!-- lifted from troff+man by doclifter -->
<refentry id='sconsign1'
          xmlns="http://www.scons.org/dbxsd/v1.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://www.scons.org/dbxsd/v1.0 http://www.scons.org/dbxsd/v1.0/scons.xsd">
<refmeta>
<refentrytitle>SCONSIGN</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class='source'>SCons 3.1.2</refmiscinfo>
<refmiscinfo class='manual'>SCons 3.1.2</refmiscinfo>
</refmeta>
<refnamediv id='name'>
<refname>sconsign</refname>
<refpurpose>print SCons signature file information</refpurpose>
</refnamediv>
<!-- body begins here -->
<refsynopsisdiv id='synopsis'>
<cmdsynopsis>
  <command>sconsign</command>
    <arg choice='opt' rep='repeat'><replaceable>options</replaceable></arg>
    <arg choice='opt' rep='repeat'><replaceable>file</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>


<refsect1 id='description'><title>DESCRIPTION</title>
<para>The
<command>sconsign</command>
command
displays the contents of one or more signature
("<markup>sconsign</markup>")
files specified by the user.</para>

<para>By default,
<command>sconsign</command>
dumps the entire contents of the
specified file(s).
Without the verbose option,
each entry is printed in the following format:</para>

<literallayout class="monospaced">
file: signature timestamp length
        implicit_dependency_1: signature timestamp length
        implicit_dependency_2: signature timestamp length
        ...
        action_signature [action string]
</literallayout>

<para><emphasis role="bold">None</emphasis>
is printed
in place of any missing timestamp, build signature ("bsig"),
or content signature ("csig")
values for
any entry
or any of its dependencies.
If the entry has no implicit dependencies,
or no build action,
the lines are simply omitted.
The verbose option expands the display into a more human
readable format.
</para>

<para>By default,
<command>sconsign</command>
assumes that any
<emphasis>file</emphasis>
arguments that end with a
<markup>.dbm</markup>
suffix contains
signature entries for
more than one directory
(that is,
was specified by the
<emphasis role="bold">SConsignFile</emphasis>
function).
Any
<emphasis>file</emphasis>
argument that ends in
<markup>.dblite</markup>
is assumed to be a traditional
<markup>.sconsign</markup>
file containing the signature entries
for a single directory.
If neither of those is true,
<command>sconsign</command>
attempts to guess the format.
If that does not work,
an explicit format
may be specified using the
<option>-f</option>
or
<option>--format=</option>
options.
</para>
<para>
If there are no
<emphasis>file</emphasis>
arguments, the name
<filename>.sconsign.dblite</filename>
is assumed.
</para>

</refsect1>

<refsect1 id='options'><title>OPTIONS</title>
<para>Various options control what information is printed
and the format:</para>

<variablelist>
  <varlistentry>
  <term>-a, --act, --action</term>
  <listitem>
<para>Prints the build action information
for all entries or the specified entries.</para>

  </listitem>
  </varlistentry>
  <varlistentry>
  <term>-c, --csig</term>
  <listitem>
<para>Prints the content signature (csig) information
for all entries or the specified entries.</para>

  </listitem>
  </varlistentry>
  <varlistentry>
  <term>-d DIRECTORY, --dir=DIRECTORY</term>
  <listitem>
<para>When the signatures are being
read from a
<markup>.dbm</markup>
file, or the
<option>-f dbm</option>
or
<option>--format=dbm</option>
options are used,
prints information about
only the signatures
for entries in the specified
<emphasis>DIRECTORY</emphasis>.</para>

  </listitem>
  </varlistentry>
  <varlistentry>
  <term>-e ENTRY, --entry=ENTRY</term>
  <listitem>
<para>Prints information about only the specified
<emphasis>ENTRY</emphasis>.
Multiple -e options may be used,
in which case information about each
<emphasis>ENTRY</emphasis>
is printed in the order in which the
options are specified on the command line.</para>

  </listitem>
  </varlistentry>
  <varlistentry>
  <term>-f FORMAT, --format=FORMAT</term>
  <listitem>
<para>The file(s) to be printed
are in the specified
<emphasis>FORMAT</emphasis>.
Legal values are
<emphasis role="bold">dbm</emphasis>
(the DBM format used
when the
<emphasis role="bold">SConsignFile</emphasis>
function is used)
or
<command>sconsign</command>
(the default format
used for an individual
<markup>.sconsign</markup>
file in each directory).</para>

  </listitem>
  </varlistentry>
  <varlistentry>
  <term>-h, --help</term>
  <listitem>
<para>Prints a help message and exits.</para>

  </listitem>
  </varlistentry>
  <varlistentry>
  <term>-i, --implicit</term>
  <listitem>
<para>Prints the list of cached implicit dependencies
for all entries or for the specified entries.</para>

  </listitem>
  </varlistentry>
  <varlistentry>
  <term>--raw</term>
  <listitem>
<para>Prints a pretty-printed representation
of the raw Python dictionary that holds
build information about individual entries
(both the entry itself and its implicit dependencies).
An entry's build action is still printed in its usual format.</para>

  </listitem>
  </varlistentry>
  <varlistentry>
  <term>-r, --readable</term>
  <listitem>
<para>Prints timestamps in a human-readable string,
enclosed in single quotes.</para>

  </listitem>
  </varlistentry>
  <varlistentry>
  <term>-t, --timestamp</term>
  <listitem>
<para>Prints the timestamp information
for all entries or the specified entries.</para>

  </listitem>
  </varlistentry>
  <varlistentry>
  <term>-v, --verbose</term>
  <listitem>
<para>Prints labels identifying each field being printed.</para>

  </listitem>
  </varlistentry>
</variablelist>
</refsect1>

<refsect1 id='environment'><title>ENVIRONMENT</title>
<variablelist>
  <varlistentry>
  <term>SCONS_LIB_DIR</term>
  <listitem>
<para>Specifies the directory that contains the SCons Python module directory
(e.g.
<filename class='directory'>/home/aroach/scons-src-0.01/src/engine</filename>).
on the command line.</para>

  </listitem>
  </varlistentry>
</variablelist>
</refsect1>

<refsect1 id='see_also'><title>SEE ALSO</title>
<para><emphasis role="bold">scons</emphasis>,
<emphasis role="bold">scons</emphasis>
User Manual,
<emphasis role="bold">scons</emphasis>
Design Document,
<emphasis role="bold">scons</emphasis>
source code.</para>

</refsect1>

<refsect1 id='authors'><title>AUTHORS</title>
<para>Steven Knight &lt;knight at baldmt dot com&gt;</para>
</refsect1>
</refentry>