This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Win32API::File cleanup
[perl5.git] / ext / Win32API / File / Makefile.PL
index c84d1de..a753db5 100644 (file)
@@ -104,7 +104,10 @@ ${_final}_to_blib: $final
         -e "pm_to_blib({ ',neatvalue($final),',',
        neatvalue($self->catfile('$(INST_ARCHLIB)',@path,$final)), ' },',
        neatvalue($self->catfile(qw[$(INST_LIB) auto])), ')"
-       @$(TOUCH) ', $_final, "_to_blib\n";
+       @$(TOUCH) ', $_final, "_to_blib
+
+realclean ::
+       $self->{RM_RF} ", $self->catfile('$(INST_ARCHLIB)', $path[0]), "\n";
 
            push( @clean, $outfile, $bin, $obj, $_final . "_to_blib" );
            push( @realclean, $final )   unless  $noreb;