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 intervista.tex && \
pdf-stapler split intervista.pdf && \
for f in intervista_*.pdf; do pdf2ps $f; done

intervista: intervista.pdf

### end Make snippet ###

The first two commands work fine. The problem is in the loop.
Do you have an idea of what might be wrong?

Here's the error message:


Output written on intervista.pdf (7 pages).
Transcript written on intervista.log.
Latexmk: Log file says output to 'intervista.pdf'
Latexmk: All targets (intervista.pdf) are up-to-date
Usage: pdf2ps [-dASCII85EncodePages=false] [-dLanguageLevel=1|2|3] input.pdf [output.ps] Usage: pdf2ps [-dASCII85EncodePages=false] [-dLanguageLevel=1|2|3] input.pdf [output.ps] Usage: pdf2ps [-dASCII85EncodePages=false] [-dLanguageLevel=1|2|3] input.pdf [output.ps] Usage: pdf2ps [-dASCII85EncodePages=false] [-dLanguageLevel=1|2|3] input.pdf [output.ps] Usage: pdf2ps [-dASCII85EncodePages=false] [-dLanguageLevel=1|2|3] input.pdf [output.ps] Usage: pdf2ps [-dASCII85EncodePages=false] [-dLanguageLevel=1|2|3] input.pdf [output.ps] Usage: pdf2ps [-dASCII85EncodePages=false] [-dLanguageLevel=1|2|3] input.pdf [output.ps]
Makefile:32: recipe for target 'intervista.pdf' failed
make: *** [intervista.pdf] Error 1


Thanks in advance
Federico


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to