Re: help with pattern rules

2016-01-13 Thread Kevin Barry
Hi Paul, Tim, Thank you both for responding. I'm embarrassed to say there was a typo in my vpath that was the cause of the problem. Sorry for the noise, and thanks for your help! Kevin ___ Help-make mailing list Help-make@gnu.org https://lists.gnu.org/m

Re: help with pattern rules

2016-01-13 Thread Tim Murphy
Does foo.txt exist? Regards, Tim On 13 January 2016 at 18:52, Paul Smith wrote: > On Wed, 2016-01-13 at 18:39 +, Kevin Barry wrote: > > %.pdf: %.txt > > $(COMMAND) $< > > > > But I get an error saying there is "No rule to make target > > 'foo.pdf'". What am I doing wrong? > > Nothi

Re: help with pattern rules

2016-01-13 Thread Paul Smith
On Wed, 2016-01-13 at 18:39 +, Kevin Barry wrote: > %.pdf: %.txt > $(COMMAND) $< > > But I get an error saying there is "No rule to make target > 'foo.pdf'". What am I doing wrong? Nothing, according to this makefile. So, there must be something wrong that you didn't describe for us