copy config header files to prefix/include
This commit is contained in:
		
				
					committed by
					
						
						Todd Gamblin
					
				
			
			
				
	
			
			
			
						parent
						
							50f74c117e
						
					
				
				
					commit
					d224718d96
				
			@@ -13,3 +13,9 @@ def install(self, spec, prefix):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        make()
 | 
					        make()
 | 
				
			||||||
        make("install")
 | 
					        make("install")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        # TODO: copy configuration header files to include directory
 | 
				
			||||||
 | 
					        #       this can be removed once we have STAT-2.1.0
 | 
				
			||||||
 | 
					        import shutil
 | 
				
			||||||
 | 
					        shutil.copy2('%s/lib/mrnet-%s/include/mrnet_config.h' % (prefix, self.version), '%s/include/mrnet_config.h' % prefix)
 | 
				
			||||||
 | 
					        shutil.copy2('%s/lib/xplat-%s/include/xplat_config.h' % (prefix, self.version), '%s/include/xplat_config.h' % prefix)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user