Browse Source

remove licenses from deps list

avoid conflicts with LaTeX inputs directories
remotes/origin/cmake
Romain Goffe 13 years ago
parent
commit
cf87f00ac8
  1. 5
      songbook.py

5
songbook.py

@ -113,12 +113,13 @@ def makeTexFile(sb, output):
def makeDepend(sb, output): def makeDepend(sb, output):
name = output[:-2] name = output[:-2]
dependsPattern = re.compile(r"^[^%]*(?:include|input)\{(.*?)\}") #dependsPattern = re.compile(r"^[^%]*(?:include|input)\{(.*?)\}")
indexPattern = re.compile(r"^[^%]*\\(?:newauthor|new)index\{.*\}\{(.*?)\}") indexPattern = re.compile(r"^[^%]*\\(?:newauthor|new)index\{.*\}\{(.*?)\}")
lilypondPattern = re.compile(r"^[^%]*\\(?:lilypond)\{(.*?)\}") lilypondPattern = re.compile(r"^[^%]*\\(?:lilypond)\{(.*?)\}")
# check for deps (in sb data) # 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": if sb["songs"] == "all":
deps += glob.glob('songs/*/*.sg') deps += glob.glob('songs/*/*.sg')
else: else:

Loading…
Cancel
Save