From: Han-Wen Nienhuys Date: Mon, 19 May 2008 03:48:08 +0000 (-0300) Subject: Document fix relating to include ordering. X-Git-Tag: release/2.11.46-1~5 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c539ab4fc68d5b9bdf5e15078190412b0c0577a1;p=lilypond.git Document fix relating to include ordering. --- 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])