> A limitation is that the directories in `VPATH' are not expanded and
> must be given directly (this seems to be undocumented; I'll contact
> the GNU make people):

This was my mistake.  I forgot about the `shell' function.  Here's a
revised version of the Makefile.


    Werner


======================================================================


piece = stamitz

LILY_CMD = lilypond -ddelete-intermediate-files \
                    -dno-point-and-click

.SUFFIXES: .ly .pdf .midi

curdir = $(shell pwd)
VPATH = $(curdir)/Scores $(curdir)/PDF

%.pdf %.midi: %.ly
        cd PDF; $(LILY_CMD) $<

.PHONY: score
score: ${piece}.pdf


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to