develooper Front page | perl.perl5.porters | Postings from September 2014

[perl #122820] 'make distclean' defect

Thread Previous
James E Keenan via RT
September 22, 2014 02:08
[perl #122820] 'make distclean' defect
Message ID:
On Sun Sep 21 18:40:52 2014, wrote:
> The problem could be readily reduced to:
> $ ./miniperl -Ilib --target=all Exporter MAKE="make"
> $ ./miniperl -Ilib --target=distclean Exporter MAKE="make"
> $ ls lib/
> and observing that lib/ was still there after it was
> created by the first command and should have been (but wasn't) cleaned
> up by the second command.
> Fixed in 9fa5aa91434.

I'm amazed that Craig solved this so quickly.

Craig's patch assumes -- correctly, IMO -- that 'make distclean' and 'git clean -dfx' have slightly different objectives.  Going back to the example I provided in section III.B above, I:

* Placed in my working directory a small shell script,, wrapping around Configure.
* Configured with this script, built and test perl at blead (9fa5aa9143).
* Said: 'make distclean'.
* Then said: 'git clean -dfxn' to perform a dry-run of what 'git clean -dfx' would still deem needing removal to keep git happy:
$ git clean -dfxn
Would remove

This DWIMs for me.

Thank you very much.
James E Keenan (

via perlbug:  queue: perl5 status: open

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About