lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DOCS: include a sample "Makefile"?


From: Werner LEMBERG
Subject: Re: DOCS: include a sample "Makefile"?
Date: Sun, 17 May 2009 21:01:43 +0200 (CEST)

> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]