#NEWLINE# def generate_target_install( self , d ) : #NEWLINE# #INDENT# libdir = self . environment . get_libdir ( ) #NEWLINE# bindir = self . environment . get_bindir ( ) #NEWLINE# should_strip = self . environment . coredata . get_builtin_option ( 'strip' ) #NEWLINE# for t in self . build . get_targets ( ) . values ( ) : #NEWLINE# #INDENT# if t . should_install ( ) : #NEWLINE# #INDENT# outdir = t . get_custom_install_dir ( ) #NEWLINE# if ( outdir is None ) : #NEWLINE# #INDENT# if isinstance ( t , build . Executable ) : #NEWLINE# #INDENT# outdir = bindir #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# outdir = libdir #NEWLINE# #UNINDENT# #UNINDENT# i = [ self . get_target_filename ( should_strip ) , outdir , t . get_aliaslist ( ) , should_strip , t . install_rpath ] #NEWLINE# d . targets . append ( i )