Skip to content
Back to formatted view

Raw Message

Message-ID: <BBB6E524-39D5-4AEA-86A3-7D435F40771C@r-project.org>
Date: 2006-05-02T20:46:55Z
From: Simon Urbanek
Subject: Force action in package install?
In-Reply-To: <559D7B3C-2D8C-49EF-881C-4C9A420B2386@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