diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2013-05-04 20:28:50 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2013-05-04 20:28:50 (GMT) |
commit | 320244104f2de73a758b0644d12185981c111582 (patch) | |
tree | 2a187c21d145e87d592909ee29b33d45aa225593 /src/engine/SCons/Tool/zip.xml | |
parent | af9e799b805c424263e8b214b9a1678363bf5072 (diff) | |
download | SCons-320244104f2de73a758b0644d12185981c111582.zip SCons-320244104f2de73a758b0644d12185981c111582.tar.gz SCons-320244104f2de73a758b0644d12185981c111582.tar.bz2 |
New doc toolchain changes:
bin/SConsDoc.py: catch parse exceptions and improve error msgs
bin/docs-validate.py: allow testing individual files from cmd line
src/engine/SCons/Tool/zip.xml: fix text to validate against DTD
Diffstat (limited to 'src/engine/SCons/Tool/zip.xml')
-rw-r--r-- | src/engine/SCons/Tool/zip.xml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/engine/SCons/Tool/zip.xml b/src/engine/SCons/Tool/zip.xml index 3d7cb24..af68533 100644 --- a/src/engine/SCons/Tool/zip.xml +++ b/src/engine/SCons/Tool/zip.xml @@ -143,7 +143,6 @@ The suffix used for zip file names. </summary> </cvar> -</sconsdoc> <cvar name="ZIPROOT"> <summary> An optional zip root directory (default empty). The filenames stored @@ -151,13 +150,16 @@ in the zip file will be relative to this directory, if given. Otherwise the filenames are relative to the current directory of the command. For instance: -<example> +<example_commands> env = Environment() env.Zip('foo.zip', 'subdir1/subdir2/file1', ZIPROOT='subdir1') -</example> +</example_commands> +<para> will produce a zip file <literal>foo.zip</literal> containing a file with the name <literal>subdir2/file1</literal> rather than <literal>subdir1/subdir2/file1</literal>. +</para> </summary> </cvar> +</sconsdoc> |