From 23e6925091a4990a768d3f470f83e13e7d85eaa5 Mon Sep 17 00:00:00 2001 From: Chris Palmer Date: Mon, 17 Jun 2019 16:31:58 +0100 Subject: [PATCH] No excludes target.scad from dependencies. --- scripts/deps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deps.py b/scripts/deps.py index cd0ec69..d383a3f 100644 --- a/scripts/deps.py +++ b/scripts/deps.py @@ -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