source: trunk/third/perl/wince/cecopy-lib.pl @ 18450

Revision 18450, 4.0 KB checked in by zacheiss, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18449, which included commits to RCS files with non-trunk default branches.
Line 
1# just copy modules
2# TODO: copy tests and try to run them...
3# this file may be used as example on how to use comp.pl
4
5my @files;
6
7my %dirs;
8sub mk {
9  my $r = shift;
10  return if exists $dirs{$r};
11  if ($r=~/\//) {
12    $r=~/^(.*)\/[^\/]*?$/;
13    mk($1);
14  }
15  print STDERR "..\\miniperl.exe -MCross comp.pl --do cemkdir [p]\\lib\\$r\n";
16  system("..\\miniperl.exe -I..\\lib -MCross comp.pl --do cemkdir [p]\\lib\\$r");
17  $dirs{$r}++;
18}
19for (@files) {
20  if (/\//) {
21    /^(.*)\/[^\/]*?$/;
22    mk($1);
23  }
24  # currently no stripping POD
25  system("..\\miniperl.exe -I..\\lib -MCross comp.pl --copy pc:..\\lib\\$_ ce:[p]\\lib\\$_");
26}
27
28sub BEGIN {
29 @files = qw(
30    attributes.pm
31    AutoLoader.pm
32    AutoSplit.pm
33    autouse.pm
34    base.pm
35    Benchmark.pm
36    bigint.pm
37    bignum.pm
38    bigrat.pm
39    blib.pm
40    bytes.pm
41    Carp.pm
42    charnames.pm
43    Config.pm
44    constant.pm
45    Cwd.pm
46    DB.pm
47    diagnostics.pm
48    Digest.pm
49    DirHandle.pm
50    Dumpvalue.pm
51    DynaLoader.pm
52    English.pm
53    Env.pm
54    Exporter.pm
55    Fatal.pm
56    fields.pm
57    FileCache.pm
58    FileHandle.pm
59    filetest.pm
60    FindBin.pm
61    if.pm
62    integer.pm
63    less.pm
64    locale.pm
65    Memoize.pm
66    NEXT.pm
67    open.pm
68    overload.pm
69    PerlIO.pm
70    re.pm
71    SelectSaver.pm
72    SelfLoader.pm
73    Shell.pm
74    sigtrap.pm
75    sort.pm
76    strict.pm
77    subs.pm
78    Switch.pm
79    Symbol.pm
80    Test.pm
81    Thread.pm
82    UNIVERSAL.pm
83    utf8.pm
84    vars.pm
85    vmsish.pm
86    warnings.pm
87    XSLoader.pm
88    warnings/register.pm
89    Unicode/Collate.pm
90    Unicode/UCD.pm
91    Time/gmtime.pm
92    Time/Local.pm
93    Time/localtime.pm
94    Time/tm.pm
95    Tie/Array.pm
96    Tie/File.pm
97    Tie/Handle.pm
98    Tie/Hash.pm
99    Tie/Memoize.pm
100    Tie/RefHash.pm
101    Tie/Scalar.pm
102    Tie/SubstrHash.pm
103    Text/Abbrev.pm
104    Text/Balanced.pm
105    Text/ParseWords.pm
106    Text/Soundex.pm
107    Text/Tabs.pm
108    Text/Wrap.pm
109    Test/Builder.pm
110    Test/Harness.pm
111    Test/More.pm
112    Test/Simple.pm
113    Test/Harness/Assert.pm
114    Test/Harness/Iterator.pm
115    Test/Harness/Straps.pm
116    Term/ANSIColor.pm
117    Term/Cap.pm
118    Term/Complete.pm
119    Term/ReadLine.pm
120    Search/Dict.pm
121    Pod/Checker.pm
122    Pod/Find.pm
123    Pod/Functions.pm
124    Pod/Html.pm
125    Pod/InputObjects.pm
126    Pod/LaTeX.pm
127    Pod/Man.pm
128    Pod/ParseLink.pm
129    Pod/Parser.pm
130    Pod/ParseUtils.pm
131    Pod/Plainer.pm
132    Pod/Select.pm
133    Pod/Text.pm
134    Pod/Usage.pm
135    Pod/Text/Color.pm
136    Pod/Text/Overstrike.pm
137    Pod/Text/Termcap.pm
138    Math/BigFloat.pm
139    Math/BigInt.pm
140    Math/BigRat.pm
141    Math/Complex.pm
142    Math/Trig.pm
143    Math/BigInt/Calc.pm
144    Math/BigInt/Trace.pm
145    Math/BigFloat/Trace.pm
146    Locale/Constants.pm
147    Locale/Country.pm
148    Locale/Currency.pm
149    Locale/Language.pm
150    Locale/Maketext.pm
151    Locale/Script.pm
152    IPC/Open2.pm
153    IPC/Open3.pm
154    I18N/Collate.pm
155    I18N/LangTags.pm
156    I18N/LangTags/List.pm
157    Hash/Util.pm
158    Getopt/Long.pm
159    Getopt/Std.pm
160    Filter/Simple.pm
161    File/Basename.pm
162    File/CheckTree.pm
163    File/Compare.pm
164    File/Copy.pm
165    File/DosGlob.pm
166    File/Find.pm
167    File/Path.pm
168    File/Spec.pm
169    File/stat.pm
170    File/Temp.pm
171    File/Spec/Functions.pm
172    File/Spec/Mac.pm
173    File/Spec/Unix.pm
174    File/Spec/Win32.pm
175    ExtUtils/Command.pm
176    ExtUtils/Constant.pm
177    ExtUtils/Embed.pm
178    ExtUtils/Install.pm
179    ExtUtils/Installed.pm
180    ExtUtils/Liblist.pm
181    ExtUtils/MakeMaker.pm
182    ExtUtils/Manifest.pm
183    ExtUtils/Miniperl.pm
184    ExtUtils/Mkbootstrap.pm
185    ExtUtils/Mksymlists.pm
186    ExtUtils/MM.pm
187    ExtUtils/MM_Any.pm
188    ExtUtils/MM_DOS.pm
189    ExtUtils/MM_Unix.pm
190    ExtUtils/MM_UWIN.pm
191    ExtUtils/MM_Win32.pm
192    ExtUtils/MM_Win95.pm
193    ExtUtils/MY.pm
194    ExtUtils/Packlist.pm
195    ExtUtils/testlib.pm
196    ExtUtils/Liblist/Kid.pm
197    ExtUtils/Command/MM.pm
198    Exporter/Heavy.pm
199    Devel/SelfStubber.pm
200    Class/ISA.pm
201    Class/Struct.pm
202    Carp/Heavy.pm
203    Attribute/Handlers.pm
204    Attribute/Handlers/demo/Demo.pm
205    Attribute/Handlers/demo/Descriptions.pm
206    Attribute/Handlers/demo/MyClass.pm
207  );
208}
Note: See TracBrowser for help on using the repository browser.