No excludes target.scad from dependencies.

This commit is contained in:
Chris Palmer 2019-06-17 16:31:58 +01:00
parent ab6c529905
commit 23e6925091
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ def read_deps(dname):
for line in lines:
if line.startswith('\t'):
dep = line[1 : -1].rstrip(' \\')
if not dep in ['stl.scad', 'dxf.scad', 'svf.scad', 'png.scad']:
if not os.path.basename(dep) in ['stl.scad', 'dxf.scad', 'svf.scad', 'png.scad', 'target.scad']:
deps.append(dep)
return deps