From 8e54676f70107ed3f4152370515e51b9af97c4be Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Mon, 19 May 2008 00:25:55 -0300 Subject: [PATCH] Insert output dir in front of -I paths. --- scripts/lilypond-book.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index 95ee6206d7..b9b3c67b7d 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -1931,8 +1931,11 @@ def main (): + ' --formats=%s -dbackend=eps ' % formats) if global_options.process_cmd: + includes = global_options.include_path + if global_options.lily_output_dir: + includes = [os.path.abspath(global_options.lily_output_dir] + includes global_options.process_cmd += ' '.join ([(' -I %s' % ly.mkarg (p)) - for p in global_options.include_path]) + for p in includes]) if global_options.format in (TEXINFO, LATEX): ## prevent PDF from being switched on by default. -- 2.39.2