preserve .mf dependency files - close #58

This commit is contained in:
josh committed 2019-01-01 21:17:28 -05:00
1 parent 918c629435
commit 9f9b7f0bf4
4 files changed
+9 -3

No files matched your search

+6
View File
@@ -594,6 +594,12 @@ module Rscons
rv = builder.run(build_operation)
end
(@side_effects[build_operation[:target]] || []).each do |side_effect_file|
# Register side-effect files as build targets so that a Cache clean
# operation will remove them.
cache.register_build(side_effect_file, nil, [], self)
end
if rv.is_a?(ThreadedCommand)
# Store the build operation so the post-build hooks can be called
# with it when the threaded command completes.