summaryrefslogtreecommitdiff
path: root/sconsign.1
blob: f59e967e3858d1c873905f5e322921f0b2c93d65 (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
.\" Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 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.
.\"
.\" doc/man/sconsign.1 4577 2009/12/27 19:43:56 scons
.\"
.\" ES - Example Start - indents and turns off line fill
.de ES
.RS
.nf
..
.\" EE - Example End - ends indent and turns line fill back on
.de EE
.RE
.fi
..
.TH SCONSIGN 1 "December 2009"
.SH NAME
sconsign \- print SCons .sconsign file information
.SH SYNOPSIS
.B sconsign
[
.IR options ...
]
.IR file
[ ... ]
.SH DESCRIPTION

The 
.B sconsign
command
displays the contents of one or more
.B .sconsign
files specified by the user.

By default,
.B sconsign
dumps the entire contents of the
specified file(s).
Each entry is printed in the following format:

    file: signature timestamp length
            implicit_dependency_1: signature timestamp length
            implicit_dependency_2: signature timestamp length
            action_signature [action string]

.B None
is printed
in place of any missing timestamp, bsig, or 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.

By default,
.B sconsign
assumes that any
.I file
arguments that end with a
.B .dbm
suffix contains
signature entries for
more than one directory
(that is,
was specified by the
.B SConsignFile ()
function).
Any
.I file
argument that does not end in
.B .dbm
is assumed to be a traditional
.B .sconsign
file containing the signature entries
for a single directory.
An explicit format
may be specified using the
.B -f
or
.B --file=
options.

.SH OPTIONS

Various options control what information is printed
and the format:

.TP
-a, --act, --action
Prints the build action information
for all entries or the specified entries.

.TP
-c, --csig
Prints the content signature (csig) information
for all entries or the specified entries.

.TP
-d DIRECTORY, --dir=DIRECTORY
When the signatures are being
read from a
.B .dbm
file, or the
.B -f dbm
or
.B --format=dbm
options are used,
prints information about
only the signatures
for entries in the specified
.IR DIRECTORY .

.TP
-e ENTRY, --entry=ENTRY
Prints information about only the specified
.IR ENTRY .
Multiple -e options may be used,
in which case information about each
.I ENTRY
is printed in the order in which the
options are specified on the command line.

.TP
-f FORMAT, --format=FORMAT
The file(s) to be printed
are in the specified
.IR FORMAT .
Legal values are
.B dbm
(the DBM format used
when the
.BR SConsignFile ()
function is used)
or
.B sconsign
(the default format
used for an individual
.B .sconsign
file in each directory).

.TP
-h, --help
Prints a help message and exits.

.TP
-i, --implicit
Prints the list of cached implicit dependencies
for all entries or the the specified entries.

.TP
--raw
Prints a pretty-printed representation
of the raw Python dictionary that holds
build information about individual entry
(both the entry itself or its implicit dependencies).
An entry's build action is still printed in its usual format.

.TP
-r, --readable
Prints timestamps in a human-readable string,
enclosed in single quotes.

.TP
-t, --timestamp
Prints the timestamp information
for all entries or the specified entries.

.TP
-v, --verbose
Prints labels identifying each field being printed.

.SH ENVIRONMENT

.IP SCONS_LIB_DIR
Specifies the directory that contains the SCons Python module directory
(e.g. /home/aroach/scons-src-0.01/src/engine).
on the command line.

.SH "SEE ALSO"
.BR scons ,
.B scons
User Manual,
.B scons
Design Document,
.B scons
source code.

.SH AUTHORS
Steven Knight <knight at baldmt dot com>