automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with dependencies


From: Stefan
Subject: Re: Problem with dependencies
Date: Sun, 6 Nov 2011 11:30:14 +0100

Oh, and my Automake Version is 1.10.1.

Am 06.11.2011 um 10:14 schrieb Stefano Lattarini:

> On Saturday 05 November 2011, Stefan  wrote:
>> Hi automake list!
>> 
>> I'm trying to write a Makefile(.am) to make pdf plots from R scripts.
>> Hence the plot is depending on the script and the data. What I tried
>> is:
>> 
>> SUFFIXES = .R .data .pdf
>> 
>> .R
>>      make R script executable
>> 
> [Nit: does this rule really work?]
> 
>> .R.pdf:
>>      Do stuff
>> 
>> .data.pdf:
>>      Do the same stuff as for .R
>> 
>> in the Makefile.am (plus a bit of other settings).
>> 
>> For changes in the R-script, the pdfs are updated, but not if I
>> change something in the data.
>> 
> Weird... can you show a complete, working example? (i.e., post a
> reduced but working Makefile.am, and the exact commands you use
> to update a *.R and/or *.data file and to rebuild the associated
> *.pdf file).  Also, telling us which make version you are using
> would be useful.
> 
>> What am I doing wrong, here?
>> 
>> greetings,
>> 
>> Stefan
>> 
> 
> Regards,
>  Stefano




reply via email to

[Prev in Thread] Current Thread [Next in Thread]