From simon.urbanek at r-project.org  Tue May  2 22:46:55 2006
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Tue, 2 May 2006 16:46:55 -0400
Subject: [Rd] Force action in package install?
In-Reply-To: <559D7B3C-2D8C-49EF-881C-4C9A420B2386@r-project.org>
References: <4457842C.3000701@stats.uwo.ca>
	<559D7B3C-2D8C-49EF-881C-4C9A420B2386@r-project.org>
Message-ID: <BBB6E524-39D5-4AEA-86A3-7D435F40771C@r-project.org>


On May 2, 2006, at 4:25 PM, Simon Urbanek wrote:

>
> On May 2, 2006, at 12:09 PM, Duncan Murdoch wrote:
>
>> I tried putting a target that depends on FORCE into Makefile or  
>> Makevars in the src directory, but it is not being built.  What  
>> sort of make magic do I need, and where do I put it in order to  
>> get R CMD INSTALL to run my code?
>>
>
> I don't think that's supported at all. I have successfully used  
> this VeryUglyHack(TM) in the package's Makevars:
>

Oops - I just realized that it's a huge overkill for what you  
described (the application actually did matter - it involved  
generated c files). The generated files force make to re-make the  
target unconditionally when using phony target, but that's another  
story. Sorry for the noise - feel free to delete it :).

Cheers,
Simon



[Rd] Force action in package install?
Simon Urbanek