| 1 |
target = 'Modern UI 2' |
| 2 |
|
| 3 |
docs = Split(""" |
| 4 |
License.txt |
| 5 |
Readme.html |
| 6 |
""") |
| 7 |
|
| 8 |
doc_images = Split(""" |
| 9 |
closed.gif |
| 10 |
header.gif |
| 11 |
open.gif |
| 12 |
screen1.png |
| 13 |
screen2.png |
| 14 |
""") |
| 15 |
|
| 16 |
contribs = Split(""" |
| 17 |
Deprecated.nsh |
| 18 |
Interface.nsh |
| 19 |
Localization.nsh |
| 20 |
MUI2.nsh |
| 21 |
Pages.nsh |
| 22 |
""") |
| 23 |
|
| 24 |
pages = Split(""" |
| 25 |
Components.nsh |
| 26 |
Directory.nsh |
| 27 |
Finish.nsh |
| 28 |
InstallFiles.nsh |
| 29 |
License.nsh |
| 30 |
StartMenu.nsh |
| 31 |
UninstallConfirm.nsh |
| 32 |
Welcome.nsh |
| 33 |
""") |
| 34 |
|
| 35 |
Import('defenv') |
| 36 |
|
| 37 |
def join(prefix, list_): |
| 38 |
return list(map(lambda x: '%s/%s' % (prefix, x), list_)) |
| 39 |
|
| 40 |
defenv.DistributeDocs(docs, path=target) |
| 41 |
defenv.DistributeDocs(join('../Modern UI/images',doc_images), path='%s/%s'%(target,'images')) |
| 42 |
path = 'Pages' |
| 43 |
defenv.DistributeContrib(join(path,pages), path='%s/%s'%(target,path)) |
| 44 |
defenv.DistributeContrib(contribs, path=target) |