From da337fa52785f1c93677333948f901be96f28fe2 Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Tue, 27 Mar 2012 09:27:02 -0400 Subject: [PATCH] lilypond-book: Set include path for --lily-output-dir option. Fixes in-tree build failure after the regression test was added. --- scripts/lilypond-book.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index a78fdfc02e..41df22da59 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -633,6 +633,10 @@ def do_options (): global_options.information = {'program_version': ly.program_version, 'program_name': ly.program_name } global_options.original_dir = original_dir + if global_options.lily_output_dir: + global_options.lily_output_dir = os.path.expanduser (global_options.lily_output_dir) + global_options.include_path.insert (0, inverse_relpath (original_dir, global_options.lily_output_dir)) + if global_options.output_dir: global_options.output_dir = os.path.expanduser (global_options.output_dir) global_options.include_path.insert (0, inverse_relpath (original_dir, global_options.output_dir)) -- 2.39.2