On 26 Jun, 2013, at 14:18, Eric V. Smith <e...@trueblade.com> wrote:

> On 6/26/2013 6:43 AM, a.cava...@cavallinux.eu wrote:
>> .. or having hg "purging" unwanted build artifact (probably cleaning up
>> the .hgignore file first)
> 
> How would that work? How could hg purge the .bak, .orig, .rej, .old,
> etc. files?
> 
>>>> find $(srcdir)/* ...
>>>> 
>>>> to avoid this problem. It won't expand the .hg top-level directory.
>>> 
>>>   Or find \( -type d -name .hg -prune \) -o ...
> 
> I'm torn. Yours is more obvious, but we'd likely need to add .svn, .git,
> etc. Maybe find $(srcdir)/[a-zA-Z]* ... would be good enough to ignore
> all dot directories/files?

Is the find command in the distclean target still needed? The comment for the 
distclean target says it is used to clean up the tree for distribution, but 
that's easier to accomplish by using a clean checkout.

The target is still useful to get a clean tree when you're building with srcdir 
== builddir, but you don't need the find command for that.

Ronald

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to