From: Han-Wen Nienhuys Date: Sat, 3 Feb 2007 15:22:51 +0000 (+0100) Subject: Fix #275. X-Git-Tag: release/2.10.16-1~4 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=52206f41c57cedded31c6cda112632772486863d;p=lilypond.git Fix #275. Also allow . in dir/file names. --- diff --git a/buildscripts/mf-to-table.py b/buildscripts/mf-to-table.py index e8984600ae..698dd61e9d 100644 --- a/buildscripts/mf-to-table.py +++ b/buildscripts/mf-to-table.py @@ -21,6 +21,7 @@ def read_log_file (fn): deps = [] autolines = [] def include_func (match, d = deps): + print match.group (1) d.append (match.group (1)) return '' @@ -28,7 +29,7 @@ def read_log_file (fn): a.append (match.group (1)) return '' - str = re.sub ('\(([a-zA-Z_0-9-]+\.mf)', include_func, str) + str = re.sub ('\\(([/a-z.A-Z_0-9-]+\\.mf)', include_func, str) str = re.sub ('@{(.*?)@}', auto_func, str) return (autolines, deps)