how to extend 'clean' operation

James Gregurich bayoubengal at mac.com
Mon Jan 31 15:19:31 PST 2011


does  workdir == $workpath?

If so, then that is good enough. ICU cross-compile requires a separate native build directory. That directory needs to be destroyed if a clean command is issued.  I'm creating that directory in $workpath.


On Jan 31, 2011, at 3:14 PM, Rainer Müller wrote:

> Hello James,
> 
> On 2011-02-01 00:08 , James Gregurich wrote:
>> I'm looking for documentation or an example on how to add custom code
>> to a clean operation in a portfile and I'm not finding anything
>> useful. Can I get some guidance on the proper way to extend a 'clean'
>> in a port  file?
> 
> What exactly do you need to clean?
> 
> All operations up to and including the destroot phase are supposed to
> happen inside the workdir, which is cleaned by the default base code
> already.
> 
> Rainer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20110131/b5ecdd86/attachment.html>


More information about the macports-dev mailing list