From c539ab4fc68d5b9bdf5e15078190412b0c0577a1 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Mon, 19 May 2008 00:48:08 -0300 Subject: [PATCH] Document fix relating to include ordering. --- scripts/lilypond-book.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index c5223a1ab1..1e9acaf65a 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -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]) -- 2.39.5