[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lilypond-book with multi-dir projects
From: |
Laura Conrad |
Subject: |
Re: lilypond-book with multi-dir projects |
Date: |
Mon, 03 Mar 2008 07:28:07 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
>>>>> "Dominic" == Dominic Neumann <address@hidden> writes:
Dominic> Hi Laura,
Dominic> 2008/3/2, Laura Conrad <address@hidden>:
>>
>> A hack to get the included files to cause recompilation
>>
Dominic> I´m interested in that hack because I´ve got always problems when I
Dominic> change my central include files. The only solution I use then is to
Dominic> remove the complete out-directory and recompile it all. But that
takes
Dominic> minutes ...
And if you were doing a large book with hundreds of files, and had
only changed one or two, it would take tens of minutes every time you
changed something.
Attached is the script I use. This is on 10.33. I don't think it's
particularly robust. I call it via my Makefile like this:
%.pdf: %.lytex *.ly
remove_obsolete.sh -d $* $?
lilypond-book --output=$* --psfonts $*.lytex
cd $*;latex $*.tex;dvips $(DVIPSOPTS) -h $*.psfonts -Ppdf -o ../$*.ps
$*.dvi
ps2pdf $*.ps $*.pdf
remove_obsolete.sh
Description: Text Data
--
Laura (mailto:address@hidden , http://www.laymusic.org/ )
(617) 661-8097 fax: (501) 641-5011
233 Broadway, Cambridge, MA 02139