[Top][All Lists]

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

Re: Problem with dependencies

From: Stefano Lattarini
Subject: Re: Problem with dependencies
Date: Sun, 6 Nov 2011 10:14:15 +0100
User-agent: KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; )

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 (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, 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


reply via email to

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