]> git.donarmstrong.com Git - lilypond.git/commitdiff
(invokes_lilypond): allow . in path to
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 6 Jan 2006 19:30:01 +0000 (19:30 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 6 Jan 2006 19:30:01 +0000 (19:30 +0000)
lilypond binary too.

ChangeLog
make/lilypond-vars.make
scripts/lilypond-book.py

index b2aabf4ce6d0126a260b76a21b303c8f27d88318..c7b2f8c95b25f108fa83f070c9040bc97f6f88e5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+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:
index 13d5e462622ecfb6f90e326715aa59272392e2c0..bd8d172f2e5bd0764ac2a9dd5a74466c1d442c81 100644 (file)
@@ -7,7 +7,12 @@ export LILYPONDPREFIX:=$(build_lilypond_datadir)/$(TOPLEVEL_VERSION)
 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
 
index 75c5c14c81cf953ce0ef41da42f65356b619c1bd..7d8fc2de133972829fd8b7462491a0755072462b 100644 (file)
@@ -674,7 +674,7 @@ def split_options (option_string):
        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
@@ -1301,7 +1301,7 @@ def process_snippets (cmd, ly_snippets, texstr_snippets, png_snippets):
        # 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: