Changeset 245 for SConstruct


Ignore:
Timestamp:
04/29/11 19:11:55 (14 years ago)
Author:
tim
Message:

included license files in win32 dist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SConstruct

    r243 r245  
    5656
    5757win32_cmds='''
    58 mkdir -p .release/%s/python/pyregfi
    59 cp %s/src/*.exe .release/%s
     58mkdir -p .release/%(base)s/python/pyregfi
     59cp %(path)s/src/*.exe .release/%(base)s
     60cp %(path)s/LICENSE .release/%(base)s
    6061
    61 cp %s/pyregfi-distutils.py .release/%s/setup.py
    62 cp %s/python/pyregfi/*.py .release/%s/python/pyregfi
     62cp %(path)s/pyregfi-distutils.py .release/%(base)s/setup.py
     63cp %(path)s/python/pyregfi/*.py .release/%(base)s/python/pyregfi
    6364
    64 cp .export/win32/libiconv/bin/*.dll .export/win32/libpthreads/bin/*.dll .export/win32/libtalloc/bin/*.dll %s/lib/*.dll .release/%s
    65 cd .release && zip -r %s.zip %s
    66 mv .release/%s.zip . && rm -rf .release
     65cp -r -L .export/win32/doc .release/%(base)s
     66cp .export/win32/libiconv/bin/*.dll .export/win32/libpthreads/bin/*.dll\
     67     .export/win32/libtalloc/bin/*.dll %(path)s/lib/*.dll .release/%(base)s
     68
     69cd .release && zip -r %(base)s.zip %(base)s
     70mv .release/%(base)s.zip . && rm -rf .release
    6771'''+cleanup_cmds
    6872
     
    135139                                            [input_prefix+'src/reglookup-recover.c']+extra_obj)
    136140
    137             ret_val += win32_cmds % (t_base,input_prefix,t_base,input_prefix,
    138                                      t_base,input_prefix,t_base,input_prefix,
    139                                      t_base,t_base,t_base,t_base)
     141            params = {'path':input_prefix, 'base':t_base}
     142            ret_val += win32_cmds % params
    140143
    141144    return ret_val
Note: See TracChangeset for help on using the changeset viewer.