/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 428 by johnpye, Tue Apr 4 06:41:25 2006 UTC revision 435 by johnpye, Tue Apr 4 10:09:09 2006 UTC
# Line 153  opts.Add( Line 153  opts.Add(
153      'TK_LIB'      'TK_LIB'
154      ,"Name of Tk lib (eg 'tk' or 'tk83')"      ,"Name of Tk lib (eg 'tk' or 'tk83')"
155      ,'tk'      ,'tk'
156    )  
157    
158    opts.Add(
159        'INSTALL_PREFIX'
160        ,'Root location for installed files'
161        ,'/usr'
162    )
163    
164    opts.Add(
165        'INSTALL_BIN'
166        ,'Location to put binaries during installation'
167        ,"$INSTALL_PREFIX/bin"
168    )
169    
170    opts.Add(
171        'INSTALL_DATA'
172        ,'Location to put data files during installation'
173        ,"$INSTALL_PREFIX/share"
174    )
175    
176    opts.Add(
177        'INSTALL_INCLUDE'
178        ,'Location to put header files during installation'
179        ,"$INSTALL_PREFIX/include"
180  )  )
181    
182  # TODO: OTHER OPTIONS?  # TODO: OTHER OPTIONS?
# Line 662  env.SConscript(['linpack/SConscript'],'e Line 686  env.SConscript(['linpack/SConscript'],'e
686  #------------------------------------------------------  #------------------------------------------------------
687  # INSTALLATION  # INSTALLATION
688    
689    install_dirs = [env['INSTALL_BIN']]+[env['INSTALL_DATA']]
690    
691  # TODO: add install options  # TODO: add install options
692    env.Alias('install',install_dirs)
693    

Legend:
Removed from v.428  
changed lines
  Added in v.435

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22