summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtool/update-deps1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/update-deps b/tool/update-deps
index 4aaf8124301..45cf5b9cc4c 100755
--- a/tool/update-deps
+++ b/tool/update-deps
@@ -300,6 +300,7 @@ def read_make_deps(cwd)
target = rule_target
deps = rule_sources
deps = deps.scan(%r{[/0-9a-zA-Z._-]+})
+ deps.delete_if {|dep| /\.time\z/ =~ dep} # skip timestamp
next if /\.o\z/ !~ target.to_s
next if /\A\./ =~ target.to_s # skip rules such as ".c.o"
#p [curdir, target, deps]