lilypond-user
[Top][All Lists]

## Re: blocking midi output of included files

 From: Mark Knoop Subject: Re: blocking midi output of included files Date: Tue, 5 Jan 2010 15:56:54 +0000

At 12:40 on 05 Jan 2010, Reinhold Kainhofer wrote:
> Am Dienstag, 5. Januar 2010 11:10:07 schrieb Mark Knoop:
> > At 17:32 on 04 Jan 2010, Federico Bruni wrote:
> > > Il 04/01/2010 14:14, James Lowe ha scritto:
> > > > Can you use the \tag option here? To set a variable that you
> > > > could then 'filter' in the book.ly?
> > >
> > > this could have been a good idea, but I think I can't apply it in
> > > my situation
> >
> > What about using a Makefile for the project which preprocesses the
> > included files (with sed for example) to comment out the midi
> > block. It could then uncomment the block again after compilation.
>
> This results in all files always being rebuilt, since they are
> changed. Not what a Makefile is for...

No, not unless you had set the included files' resultant pdfs as
dependencies of the book file - and why would you do that?

--
Mark Knoop