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

RE: merging make_ext and make_ext_cross

Thread Previous | Thread Next
January 11, 2009 05:21
RE: merging make_ext and make_ext_cross
Message ID:
> From: Nicholas Clark [] 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,
Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About