From: Reinhold Kainhofer Date: Sat, 20 Aug 2011 18:00:22 +0000 (+0200) Subject: Lilypond-Book: We need the [snippetfile].txt files for makeinfo... X-Git-Tag: release/2.15.9-1~9^2~20 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=bff1751d9aaf9fc2f39b878aa86807d3537c7e5a;p=lilypond.git Lilypond-Book: We need the [snippetfile].txt files for makeinfo... Make the .txt file required, otherwise we'll get warnings from makeinfo. Also create the .txt file for MusicXML files --- diff --git a/python/book_snippets.py b/python/book_snippets.py index 17935d6359..5d66006913 100644 --- a/python/book_snippets.py +++ b/python/book_snippets.py @@ -686,7 +686,8 @@ printing diff against existing file." % filename) # UGH - junk self.global_options skip_lily = self.global_options.skip_lilypond_run - for required in [base + '.ly']: + for required in [base + '.ly', + base + '.txt']: require_file (required) if not skip_lily: require_file (base + '-systems.count') @@ -935,6 +936,8 @@ printing diff against existing file.") % filename) out = file (filename, 'w') out.write (self.full_ly ()) out.close () + file (path + '.txt', 'w').write ('image of music') + class LilyPondVersionString (Snippet):