bug-lilypond
[Top][All Lists]
Advanced

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

-M dependency-generation option missing from lilypond-book in 2.2.1


From: Michael Haynie
Subject: -M dependency-generation option missing from lilypond-book in 2.2.1
Date: Sun, 9 May 2004 19:35:02 -0400

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.





reply via email to

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