4 This file is processed by the bin/SConsDoc.py module.
5 See its __doc__ string for a discussion of the format.
9 Sets construction variables for the &tar; archiver.
24 Builds a tar archive of the specified files
26 Unlike most builder methods,
29 builder method may be called multiple times
32 adds to the list of entries
33 that will be built into the archive.
34 Any source directories will
35 be scanned for changes to
37 regardless of whether or not
39 knows about them from other Builder or function calls.
42 env.Tar('src.tar', 'src')
44 # Create the stuff.tar file.
45 env.Tar('stuff', ['subdir1', 'subdir2'])
46 # Also add "another" to the stuff.tar file.
47 env.Tar('stuff', 'another')
49 # Set TARFLAGS to create a gzip-filtered archive.
50 env = Environment(TARFLAGS = '-c -z')
51 env.Tar('foo.tar.gz', 'foo')
53 # Also set the suffix to .tgz.
54 env = Environment(TARFLAGS = '-c -z',
69 The command line used to call the tar archiver.
73 <cvar name="TARCOMSTR">
75 The string displayed when archiving files
76 using the tar archiver.
77 If this is not set, then &cv-link-TARCOM; (the command line) is displayed.
80 env = Environment(TARCOMSTR = "Archiving $TARGET")
85 <cvar name="TARFLAGS">
87 General options passed to the tar archiver.
91 <cvar name="TARSUFFIX">
93 The suffix used for tar file names.