On Thu, Feb 22, 2001 at 02:05:17PM +0100, Jan Nieuwenhuizen wrote:
> Mats Bengtsson <[EMAIL PROTECTED]> 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
_______________________________________________
Gnu-music-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/gnu-music-discuss