Changeset 33 for trunk/locker-bin

Show
Ignore:
Timestamp:
01/08/08 19:19:02 (17 years ago)
Author:
broder
Message:

Added some extra functionality for libraries that need more files than
just the autoconf stuff

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/locker-bin/macathenaDist.py

    r31 r33  
    11#!/usr/bin/env python 
    22 
    3 def packageCvs(module, cvsModule, cvsroot='/afs/dev.mit.edu/source/repository', getAutoconf='packs/build/autoconf', date='tomorrow'): 
     3def packageCvs(module, cvsModule, extras=['packs/build/autoconf'], cvsroot='/afs/dev.mit.edu/source/repository', date='tomorrow'): 
    44        import os 
    55        import time 
     
    1313        os.system('cvs -R export -D %s %s >/dev/null 2>/dev/null' % (date, cvsModule)) 
    1414         
    15         if getAutoconf: 
    16                 os.system('cvs -R export -r HEAD -d %s %s >/dev/null 2>/dev/null' % (cvsModule, getAutoconf)) 
     15        if extras: 
     16                for extra in extras: 
     17                        os.system('cvs -R export -D %s -d %s %s >/dev/null 2>/dev/null' % (date, cvsModule, extra)) 
    1718         
    1819        stamp = 0 
     
    3435        print 'Created /mit/macathena/dist/%s.tar.gz' % tarball 
    3536 
    36 modules = {'moira': ['moira', '/afs/athena.mit.edu/astaff/project/moiradev/repository', False], 
     37modules = {'moira': ['moira', False, '/afs/athena.mit.edu/astaff/project/moiradev/repository'], 
    3738        'libathdir': ['athena/lib/athdir'], 
    3839        'athdir': ['athena/bin/athdir'], 
     
    4142        'athrun': ['athena/bin/athrun'], 
    4243        'athinfo': ['athena/bin/athinfo'], 
    43         'getcluster': ['athena/bin/getcluster'], 
     44        'getcluster': ['athena/bin/getcluster', ['packs/build/autoconf', 'packs/build/aclocal.m4']], 
    4445        'libxj': ['athena/lib/Xj'], 
    45         'xcluster': ['athena/bin/xcluster']} 
     46        'libss': ['athena/lib/ss'], 
     47        'xcluster': ['athena/bin/xcluster'], 
     48        'discuss': ['athena/bin/discuss']} 
    4649 
    4750if __name__ == '__main__':