This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients Alex.Willmer, doko, martin.panter, ned.deily, xdegaye
Date 2016-06-06.01:20:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465176020.65.0.988578037699.issue27229@psf.upfronthosting.co.za>
In-reply-to
Content
I was a little concerned that Alex’s patch used “test A -ef B”, which is not specified by Posix. But it is apparently widely supported (and consider we would only need it for cross compilation). Anyway, I was going to suggest test "$(srcdir)" == "." instead, but maybe Xavier’s solution is slightly better again.

I say go with vpath.patch, perhaps with a brief comment explaining that the cp + mv dance avoids copying the file onto itself when doing an in-tree build.
History
Date User Action Args
2016-06-06 01:20:20martin.pantersetrecipients: + martin.panter, doko, ned.deily, xdegaye, Alex.Willmer
2016-06-06 01:20:20martin.pantersetmessageid: <1465176020.65.0.988578037699.issue27229@psf.upfronthosting.co.za>
2016-06-06 01:20:20martin.panterlinkissue27229 messages
2016-06-06 01:20:20martin.pantercreate