In version 2.0.1, there was an option to lilypond-book to generate dependencies for make, which has been removed. This makes document management quite difficult, at least for me, since I now have to write the dependencies by hand. For the manuscripts I'm currently working on, the dependency lists are too long to maintain by hand.

I should note that the dependency files that lilypond writes out are somewhat malformed for use by gnu make (which may be the reason the option is now missing). The target names reflect the name of the dependency file, not the actual target. The problem can be easily corrected with something like the following:

cat foo.dep | sed -e 's/dep:/pdf:/' -e 's|/[/a-zA-Z]*/||' >foo.d

which has the effect of rewriting the target portion of the rule to reflect foo.pdf instead of foo.dep. I then include foo.d in the make file instead of foo.dep.



_______________________________________________
bug-lilypond mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to