1SCONSIGN(1) SCons 4.3.0 SCONSIGN(1)
2
3
4
6 sconsign - print SCons signature file information
7
9 sconsign [options...] [file...]
10
12 Displays the contents of one or more sconsign files, the signature
13 database files used by the SCons build tool.
14
15 By default, sconsign dumps the entire contents of the sconsign file(s).
16 Without options, individual dependency entries are printed in the
17 following format:
18
19 depfile: signature timestamp length
20 implicit_dependency_1: content_signature timestamp length
21 implicit_dependency_2: content_signature timestamp length
22 ...
23 action_signature [action string]
24
25 None is printed in place of any missing timestamp, content signature
26 (csig) or build action signature values for any entry or any of its
27 dependencies. If the entry has no implicit dependencies, or no build
28 action, those lines are omitted.
29
30 By default, sconsign assumes that any file arguments that end with a
31 .dblite suffix contains signature entries for more than one directory
32 (that is, was specified by the SConsignFile function). Any file
33 argument that has no suffix is assumed to be an old-style sconsign file
34 containing the signature entries for a single directory. If neither of
35 those is true, sconsign attempts to guess the format. If that does not
36 work, an explicit format may be specified using the -f or --format=
37 options.
38
39 If there are no file arguments, the name .sconsign.dblite is assumed by
40 default.
41
43 Various options control what information is printed and the format:
44
45 -a, --act, --action
46 Prints only the build action information for all entries or the
47 specified entries.
48
49 -c, --csig
50 Prints only the content signature (csig) information for all
51 entries or the specified entries.
52
53 -d DIRECTORY, --dir=DIRECTORY
54 When the signatures are being read from a .dblite file, or the -f
55 dblite or --format=dblite options are used, prints information
56 about only the signatures for entries in the specified DIRECTORY.
57
58 -e ENTRY, --entry=ENTRY
59 Prints information about only the specified ENTRY. Multiple -e
60 options may be used, in which case information about each ENTRY is
61 printed in the order in which the options are specified on the
62 command line.
63
64 -f FORMAT, --format=FORMAT
65 The file(s) to be printed are in the specified FORMAT. Legal values
66 are dblite (the SCons.dblite format used by default, as well as
67 when the SConsignFile function is called, except when a filename
68 argument of None is given) and sconsign (the format used for an
69 individual .sconsign file in each directory).
70
71 -h, --help
72 Prints a help message and exits.
73
74 -i, --implicit
75 Prints the list of cached implicit dependencies for all entries or
76 for the specified entries.
77
78 --raw
79 Prints a pretty-printed representation of the raw Python dictionary
80 that holds build information about individual entries (both the
81 entry itself and its implicit dependencies). An entry's build
82 action is still printed in its usual format.
83
84 -r, --readable
85 Prints timestamps in a human-readable string, enclosed in single
86 quotes.
87
88 -t, --timestamp
89 Prints the timestamp information for all entries or the specified
90 entries.
91
92 -v, --verbose
93 Prints labels identifying each field being printed.
94
96 SCONS_LIB_DIR
97 Specifies the directory that contains the SCons Python module
98 directory (e.g. /home/aroach/scons-src/SCons).
99
101 scons, the SCons User Guide at
102 https://scons.org/doc/production/HTML/scons-user.html, the SCons source
103 code on GitHub[1].
104
106 Originally: Steven Knight knight@baldmt.com and Anthony Roach
107 aroach@electriceyeball.com.
108
109 Since 2010: The SCons Development Team scons-dev@scons.org.
110
112 1. on GitHub
113 https://github.com/SCons/scons
114
115
116
117SCons 4.3.0 01/22/2022 SCONSIGN(1)