Re: help with loop in a Make file

2016-08-31 Thread Federico Bruni
Il giorno mer 31 ago 2016 alle 8:57, David Kastrup ha scritto: Federico Bruni writes: I have a slightly OT question about Make. I'm using Make to generate several EPS file to be included in a LilyPond file. The three commands below work fine on the terminal but do not work when I launch

Re: help with loop in a Make file

2016-08-30 Thread David Kastrup
Federico Bruni writes: > I have a slightly OT question about Make. > I'm using Make to generate several EPS file to be included in a > LilyPond file. > The three commands below work fine on the terminal but do not work > when I launch make: > > ### Make snippet ### > > SHELL=/usr/bin/bash > > %.p

Re: help with loop in a Make file

2016-08-30 Thread Jacques Menu Muzhic
Hello Federico, The actual syntax for a loop in Make is different that that of bash, as is its meaning by the way, see: https://www.gnu.org/software/make/manual/html_node/Foreach-Function.html. But what you need is probably a pattern like this, where ‘%’ is a place holder as

help with loop in a Make file

2016-08-30 Thread Federico Bruni
I have a slightly OT question about Make. I'm using Make to generate several EPS file to be included in a LilyPond file. The three commands below work fine on the terminal but do not work when I launch make: ### Make snippet ### SHELL=/usr/bin/bash %.pdf %.ps %.eps: %.tex latexmk -xelatex in