[libclc] r193221 - Clean-up dependency files

Tom Stellard thomas.stellard at amd.com
Tue Oct 22 19:49:33 PDT 2013


Author: tstellar
Date: Tue Oct 22 21:49:33 2013
New Revision: 193221

URL: http://llvm.org/viewvc/llvm-project?rev=193221&view=rev
Log:
Clean-up dependency files

Patch by: Jeroen Ketema

Modified:
    libclc/trunk/build/metabuild.py

Modified: libclc/trunk/build/metabuild.py
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/build/metabuild.py?rev=193221&r1=193220&r2=193221&view=diff
==============================================================================
--- libclc/trunk/build/metabuild.py (original)
+++ libclc/trunk/build/metabuild.py Tue Oct 22 21:49:33 2013
@@ -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):





More information about the cfe-commits mailing list