From: Han-Wen Nienhuys Date: Mon, 19 May 2008 03:25:55 +0000 (-0300) Subject: Insert output dir in front of -I paths. X-Git-Tag: release/2.11.46-1~11 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8e54676f70107ed3f4152370515e51b9af97c4be;p=lilypond.git Insert output dir in front of -I paths. --- 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.