Ignore:
Timestamp:
Nov 10, 2006, 11:23:41 AM (18 years ago)
Author:
garonne
Message:

add the recursive make option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tbroadcast/HEAD/scripts/tbroadcast

    r259 r306  
    2424    print '#   -global               : Reach packages in all CMTPATH/CMTPROJECTPATH items'   
    2525    print '#   -ignore_cycles        : Suppress automatically the cycles'
     26    print '#   -make=<file>          : Generate a recursive Make, see: http://www.tip.net.au/~millerp/rmch/recu-make-cons-harm.html'
    2627    print '#   -nb=<num_worker>      : Change the total number of threads[default is 20]'
    2728    print '#   -output=<location>    : Output directory to store output files with the form <package>_output.log'
     
    4849    error         = None
    4950    file          = None
     51    make          = None
     52    makefile      = 'Makefile'
    5053   
    5154    if len(sys.argv) == 1:
     
    8487                 elif option == '-print':
    8588                         print_graph = True   
     89                 elif option == '-make':       
     90                     make     = True
     91                     makefile = string.split(arg,'=')[1]
    8692             else:
    8793                  command = arg
     
    94100    elif print_graph:
    95101        master.print_dependencies ()
     102    elif make:
     103        master.generate_make (makefile, command)   
    96104    else:
    97105        master.execute_all (command)
Note: See TracChangeset for help on using the changeset viewer.