10 Builds a tar archive of the specified files
12 Unlike most builder methods,
15 builder method may be called multiple times
18 adds to the list of entries
19 that will be built into the archive.
22 env.Tar('src.tar', 'src')
24 # Create the stuff.tar file.
25 env.Tar('stuff', ['subdir1', 'subdir2'])
26 # Also add "another" to the stuff.tar file.
27 env.Tar('stuff', 'another')
29 # Set TARFLAGS to create a gzip-filtered archive.
30 env = Environment(TARFLAGS = '-c -z')
31 env.Tar('foo.tar.gz', 'foo')
33 # Also set the suffix to .tgz.
34 env = Environment(TARFLAGS = '-c -z',
49 The command line used to call the tar archiver.
53 <cvar name="TARCOMSTR">
55 The string displayed when archiving files
56 using the tar archiver.
57 If this is not set, then &cv-TARCOM; (the command line) is displayed.
60 env = Environment(TARCOMSTR = "Archiving $TARGET")
65 <cvar name="TARFLAGS">
67 General options passed to the tar archiver.
71 <cvar name="TARSUFFIX">
73 The suffix used for tar file names.