lilypond binary too.
+2006-01-06 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * scripts/lilypond-book.py (invokes_lilypond): allow . in path to
+ lilypond binary too.
+
+2006-01-05 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * make/mutopia-rules.make (Module): use LILYPOND_BINARY
+
2006-01-06 Jan Nieuwenhuizen <janneke@gnu.org>
* make/ly-rules.make:
export DVIPSHEADERS:=$(top-build-dir)/mf/out::
export LILYPOND_BINARY=$(top-build-dir)/lily/$(outconfbase)/lilypond
else
-export PATH:=$(dir $(LILYPOND_EXTERNAL_BINARY)):$(PATH)
+
+## better not take the binaries from a precompiled bundle, as they
+## rely on env vars for relocation.
+##
+
+#export PATH:=$(dir $(LILYPOND_EXTERNAL_BINARY)):$(PATH)
export LILYPOND_BINARY=$(LILYPOND_EXTERNAL_BINARY)
endif
return []
def invokes_lilypond ():
- return re.search ('^[\'\"0-9A-Za-z/]*lilypond', process_cmd)
+ return re.search ('^[\'\"0-9A-Za-z/.]*lilypond', process_cmd)
def set_default_options (source):
global default_ly_options
# UGH
# the --process=CMD switch is a bad idea
# it is too generic for lilypond-book.
- if texstr_names and invokes_lilypond:
+ if texstr_names and invokes_lilypond ():
my_system (string.join ([cmd, '--backend texstr',
'snippet-map.ly'] + texstr_names))
for l in texstr_names: