]> git.donarmstrong.com Git - lilypond.git/commitdiff
Document fix relating to include ordering.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 19 May 2008 03:48:08 +0000 (00:48 -0300)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 19 May 2008 03:48:08 +0000 (00:48 -0300)
scripts/lilypond-book.py

index c5223a1ab19f5d76bbf3a22ae50ff30588fa7a2f..1e9acaf65a62ebe5e1f3b415c79f9fc23ed26914 100644 (file)
@@ -1933,6 +1933,8 @@ def main ():
     if global_options.process_cmd:
         includes = global_options.include_path
         if global_options.lily_output_dir:
+            # This must be first, so lilypond prefers to read .ly
+            # files in the other lybookdb dir.
             includes = [os.path.abspath(global_options.lily_output_dir)] + includes
         global_options.process_cmd += ' '.join ([' -I %s' % ly.mkarg (p)
                                                  for p in includes])