develooper Front page | perl.perl5.porters | Postings from January 2009

RE: merging make_ext and make_ext_cross

Thread Previous | Thread Next
From:
vkonovalov
Date:
January 11, 2009 05:21
Subject:
RE: merging make_ext and make_ext_cross
Message ID:
C47ED771CC52F74A8C06D0664970E6CE790267FA@FRMRSSXCHMBSB2.dc-m.alcatel-lucent.com
> From: Nicholas Clark [mailto:nick@flirble.org] On Behalf Of 

....

> So the trick is to save the Makefile as Makefile.old and use that for
> distclean.
> 
> 
> 
> This, of course, all works fine if make_ext is a shell 
> script, as it doesn't
> rely on anything we built to run make distclean. But if we 
> simply change
> make_ext to rely on miniperl, we have a problem if we run make clean;
> make distclean, as it has already gone.
> 
> 
> Not certain what to do, but it strikes me that as make_ext 
> runs it could
> write out the shell* instructions to run distclean into a 
> shell "script" at
> top level, and we could change realclean (and distclean) to 
> use that, rather
> than recurse into ext/ via make_ext.

I like the idea!

I will send such a patch within a day, if no-one minds.
(of course, Nicholas, if you're all in this and willing to implement - I will not dare to interfere :) )

Best regards,
Vadim.
Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About