gnu-music-discuss
[Top][All Lists]
Advanced

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

Re: lilypond-book


From: David J. Roundy
Subject: Re: lilypond-book
Date: Fri, 23 Feb 2001 06:13:14 -0800
User-agent: Mutt/1.2.5i

On Thu, Feb 22, 2001 at 02:05:17PM +0100, Jan Nieuwenhuizen wrote:
> Mats Bengtsson <address@hidden> writes:
> 
> > Here's a modified version of Tim's Makefile
> 
> Ok, that's enough.  Thanks, but this probably doesn't work either
> ($OUTDIR typos).  /Me, the Grand Makefile Hacker, will try to compose
> a lilypond makefile that should address most of listed problems.  Most
> of what you want is already included in the mutopia makefiles, some
> new stuff that I want to include, like dependencies, would be nice for
> and will thus be included in mutopia too.

In case you might find it helpful, I've written a Makefile which is pretty
handy.  You have to call your input file lessons.tex, or edit it in the
makefile.  It is written to work using implicit rules and non-gnu make
(plus gnu make).

David Roundy

(the Makefile)

.SUFFIXES:
.SUFFIXES: .latex .tex .dvi .ps .pdf .idx .ind
.latex.idx :
        latex $<
.tex.latex :
        lilypond-book $<
.latex.dvi :
        latex $<
.dvi.ps : %.dvi
        dvips -o $@ $<
.ps.pdf :
        ps2pdf $<; rm $<
.idx.ind :
        makeindex $<
lessons.ps: lessons.dvi
lessons.dvi : lessons.latex lessons.ind
clean:
        rm -f [0-9]*.ly [0-9]*.tex [0-9]*.midi *.dvi *.toc *.aux *.latex
        *.mix *.log



reply via email to

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