Am 14.05.2013 14:50, schrieb Laurence Anthony: > > > So, if Tree is creating a TOC, how does root, prefix, (and excludes) > relate to (name, path, typecode) of TOC.
Good point.
From the code I can tell you, that the typecode is always DATA.
For the rest I suggest testing it. I'v done it four you:
print Tree('xx')
# [('yy/zz.txt', 'xx/yy/zz.txt', 'DATA')]
print Tree('xx', 'aaa')
# [('aaa/yy/zz.txt', 'xx/yy/zz.txt', 'DATA')]
print Tree('/usr/share/icons/large', 'my-icons')
# [('my-icons/mageiaupdate.png',
'/usr/share/icons/large/mageiaupdate.png', 'DATA'), ...
For me this is quite obviose
> So, how do I get c:/mydir into the dist folder?
Simply list it, lika any other TOC:
COLLECT(a.binaries,
a.pure,
Tree('c:/mydir'),
...
> An example explaining this would be really useful.
Please open an issue for this, including the examples above.
--
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP
Goebel Consult
http://www.goebel-consult.de
Monatliche Kolumne:
http://www.cissp-gefluester.de/2012-04-compliance-bringt-keine-sicherheit
Blog: http://www.goebel-consult.de/blog/20050401
Goebel Consult ist Mitglied bei http://www.7-it.de/
smime.p7s
Description: S/MIME Kryptografische Unterschrift
