diff options
author | Greg Ward <gward@python.net> | 2000-04-21 04:35:25 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-04-21 04:35:25 (GMT) |
commit | 87da1ea1271c3070bcb37348ac3ae508b62ce56b (patch) | |
tree | 37e0d23cbdfc7fe1abc01d46ab7a6e4e1a98d51f | |
parent | 9d5afa9894c2dd18acaf81f6ff52a3591772f40d (diff) | |
download | cpython-87da1ea1271c3070bcb37348ac3ae508b62ce56b.zip cpython-87da1ea1271c3070bcb37348ac3ae508b62ce56b.tar.gz cpython-87da1ea1271c3070bcb37348ac3ae508b62ce56b.tar.bz2 |
Patch from Andrew Kuchling: document the new multiple pattern feature in the
manifest template.
-rw-r--r-- | Doc/dist/dist.tex | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/Doc/dist/dist.tex b/Doc/dist/dist.tex index 6ee4e16..64d63e8 100644 --- a/Doc/dist/dist.tex +++ b/Doc/dist/dist.tex @@ -406,8 +406,7 @@ distribution. For an example, again we turn to the Distutils' own manifest template: \begin{verbatim} include *.txt -recursive-include examples *.txt -recursive-include examples *.py +recursive-include examples *.txt *.py prune examples/sample?/build \end{verbatim} The meanings should be fairly clear: include all files in the @@ -652,16 +651,20 @@ each, are: \XXX{fragment moved down from above: needs context!} The manifest template commands are: \begin{tableii}{ll}{command}{Command}{Description} - \lineii{include \var{pat}}{include all files matching \var{pat}} - \lineii{exclude \var{pat}}{exclude all files matching \var{pat}} - \lineii{recursive-include \var{dir} \var{pat}} - {include all files under \var{dir} matching \var{pat}} - \lineii{recursive-exclude \var{dir} \var{pat}} - {exclude all files under \var{dir} matching \var{pat}} - \lineii{global-include \var{pat}} - {include all files anywhere in the source tree matching \var{pat}} - \lineii{global-exclude \var{pat}} - {exclude all files anywhere in the source tree matching \var{pat}} + \lineii{include \var{pat1} \var{pat2} ... } + {include all files matching any of the listed patterns} + \lineii{exclude \var{pat1} \var{pat2} ... } + {exclude all files matching any of the listed patterns} + \lineii{recursive-include \var{dir} \var{pat1} \var{pat2} ... } + {include all files under \var{dir} matching any of the listed patterns} + \lineii{recursive-exclude \var{dir} \var{pat1} \var{pat2} ...} + {exclude all files under \var{dir} matching any of the listed patterns} + \lineii{global-include \var{pat1} \var{pat2} ...} + {include all files anywhere in the source tree matching + any of the listed patterns} + \lineii{global-exclude \var{pat1} \var{pat2} ...} + {exclude all files anywhere in the source tree matching + any of the listed patterns} \lineii{prune \var{dir}}{exclude all files under \var{dir}} \lineii{graft \var{dir}}{include all files under \var{dir}} \end{tableii} |