Commit 87da1ea1 authored by Greg Ward's avatar Greg Ward

Patch from Andrew Kuchling: document the new multiple pattern feature in the

manifest template.
parent 9d5afa98
...@@ -406,8 +406,7 @@ distribution. For an example, again we turn to the Distutils' own ...@@ -406,8 +406,7 @@ distribution. For an example, again we turn to the Distutils' own
manifest template: manifest template:
\begin{verbatim} \begin{verbatim}
include *.txt include *.txt
recursive-include examples *.txt recursive-include examples *.txt *.py
recursive-include examples *.py
prune examples/sample?/build prune examples/sample?/build
\end{verbatim} \end{verbatim}
The meanings should be fairly clear: include all files in the The meanings should be fairly clear: include all files in the
...@@ -652,16 +651,20 @@ each, are: ...@@ -652,16 +651,20 @@ each, are:
\XXX{fragment moved down from above: needs context!} \XXX{fragment moved down from above: needs context!}
The manifest template commands are: The manifest template commands are:
\begin{tableii}{ll}{command}{Command}{Description} \begin{tableii}{ll}{command}{Command}{Description}
\lineii{include \var{pat}}{include all files matching \var{pat}} \lineii{include \var{pat1} \var{pat2} ... }
\lineii{exclude \var{pat}}{exclude all files matching \var{pat}} {include all files matching any of the listed patterns}
\lineii{recursive-include \var{dir} \var{pat}} \lineii{exclude \var{pat1} \var{pat2} ... }
{include all files under \var{dir} matching \var{pat}} {exclude all files matching any of the listed patterns}
\lineii{recursive-exclude \var{dir} \var{pat}} \lineii{recursive-include \var{dir} \var{pat1} \var{pat2} ... }
{exclude all files under \var{dir} matching \var{pat}} {include all files under \var{dir} matching any of the listed patterns}
\lineii{global-include \var{pat}} \lineii{recursive-exclude \var{dir} \var{pat1} \var{pat2} ...}
{include all files anywhere in the source tree matching \var{pat}} {exclude all files under \var{dir} matching any of the listed patterns}
\lineii{global-exclude \var{pat}} \lineii{global-include \var{pat1} \var{pat2} ...}
{exclude all files anywhere in the source tree matching \var{pat}} {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{prune \var{dir}}{exclude all files under \var{dir}}
\lineii{graft \var{dir}}{include all files under \var{dir}} \lineii{graft \var{dir}}{include all files under \var{dir}}
\end{tableii} \end{tableii}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment