[Libclc-dev] [PATCH 2/2] Clean-up dependency files

Jeroen Ketema j.ketema at imperial.ac.uk
Fri Sep 6 15:38:01 PDT 2013


---
build/metabuild.py | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/build/metabuild.py b/build/metabuild.py
index c675e09..4ab5db5 100644
--- a/build/metabuild.py
+++ b/build/metabuild.py
@@ -61,8 +61,13 @@ endif
    self.all_targets.append(output)
    if r['generator']:
      self.distclean_files.append(output)
+      if r['depfile']:
+        self.distclean_files.append(depfile)
    else:
      self.clean_files.append(output)
+      if r['depfile']:
+        self.distclean_files.append(depfile)
+

  def _as_list(self, input):
    if isinstance(input, list):
-- 
1.7.12.4 (Apple Git-37)





More information about the Libclc-dev mailing list