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