From cf87f00ac8207733ecdacc623b2fcef69927224f Mon Sep 17 00:00:00 2001 From: Romain Goffe Date: Sat, 15 Oct 2011 05:13:50 +0200 Subject: [PATCH] remove licenses from deps list avoid conflicts with LaTeX inputs directories --- songbook.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/songbook.py b/songbook.py index 1e694762..1c874c5e 100755 --- a/songbook.py +++ b/songbook.py @@ -113,12 +113,13 @@ def makeTexFile(sb, output): def makeDepend(sb, output): name = output[:-2] - dependsPattern = re.compile(r"^[^%]*(?:include|input)\{(.*?)\}") + #dependsPattern = re.compile(r"^[^%]*(?:include|input)\{(.*?)\}") indexPattern = re.compile(r"^[^%]*\\(?:newauthor|new)index\{.*\}\{(.*?)\}") lilypondPattern = re.compile(r"^[^%]*\\(?:lilypond)\{(.*?)\}") # check for deps (in sb data) - deps = matchRegexp(dependsPattern, [ v for v in sb.itervalues() if type(v) is not list ]) + #deps = matchRegexp(dependsPattern, [ v for v in sb.itervalues() if type(v) is not list ]) + deps = []; if sb["songs"] == "all": deps += glob.glob('songs/*/*.sg') else: