[Python-Dev] cpython (3.2): Fix find command in makefile “funny” target

Georg Brandl g.brandl at gmx.net
Sat Aug 13 08:23:18 CEST 2011


On 08/12/11 18:03, eric.araujo wrote:
> http://hg.python.org/cpython/rev/1b818f3639ef
> changeset:   71826:1b818f3639ef
> branch:      3.2
> parent:      71823:8032ea4c3619
> user:        Éric Araujo <merwok at netwok.org>
> date:        Wed Aug 10 02:01:32 2011 +0200
> summary:
>   Fix find command in makefile “funny” target
> 
> files:
>   Makefile.pre.in |  4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
> 
> 
> diff --git a/Makefile.pre.in b/Makefile.pre.in
> --- a/Makefile.pre.in
> +++ b/Makefile.pre.in
> @@ -1283,7 +1283,7 @@
>  
>  # Find files with funny names
>  funny:
> -	find $(DISTDIRS) \
> +	find $(SUBDIRS) $(SUBDIRSTOO) \
>  		-name .svn -prune \
>  		-o -type d \
>  		-o -name '*.[chs]' \
> @@ -1313,7 +1313,7 @@
>  		-o -name .hgignore \
>  		-o -name .bzrignore \
>  		-o -name MANIFEST \
> -		-o -print
> +		-print

This actually broke the command; it only outputs "MANIFEST" now if present.
The previous version is correct; please revert this part.

Georg



More information about the Python-Dev mailing list