Changeset 21705 for Makefile.PL
- Timestamp:
- 08/01/08 16:17:47 (5 months ago)
- Files:
-
- 1 modified
-
Makefile.PL (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Makefile.PL
r21701 r21705 36 36 37 37 my $rebuilt; 38 $rebuilt ||= bootstrap_with(Cabal => qr/1\.4\./, '1.4.0'); 39 $rebuilt ||= bootstrap_with(parsec => qr/2\./, '2.0'); 40 $rebuilt ||= bootstrap_with(network => qr/[12]\./, '1.0'); 41 $rebuilt ||= bootstrap_with(HTTP => qr/300[01]\./, '3000.0'); 42 $rebuilt ||= bootstrap_with(zlib => qr/0\.(?:[4-9]|[1-9]\d)\./, '0.4'); 43 $rebuilt ||= bootstrap_with('cabal-install' => qr/0\.(?:[5-9]|[1-9]\d)\./, '0.5'); 38 $rebuilt += bootstrap_with(Cabal => qr/1\.4\./, '1.4.0'); 39 #$rebuilt ||= bootstrap_with(bytestring => qr/0\.9\.[1-9]/, '0.9.1'); 40 $rebuilt += bootstrap_with(parsec => qr/2\./, '2.0'); 41 $rebuilt += bootstrap_with(network => qr/[12]\./, '1.0'); 42 $rebuilt += bootstrap_with(HTTP => qr/300[01]\./, '3000.0'); 43 $rebuilt += bootstrap_with(zlib => qr/0\.(?:[4-9]|[1-9]\d)\./, '0.4'); 44 $rebuilt += bootstrap_with('cabal-install' => qr/0\.(?:[5-9]|[1-9]\d)\./, '0.5'); 44 45 45 46 if ($rebuilt) { … … 50 51 51 52 my @deps = qw( 52 filepath mtl stm pretty time random process containers bytestringarray directory53 filepath mtl stm pretty time random process containers array directory 53 54 54 55 utf8-string … … 64 65 ); 65 66 66 system($cabal => 'update');67 #system($cabal => 'update'); 67 68 system($cabal => 'install', '--user', @deps); 68 69 … … 140 141 # Ok, now we have Cabal-Install and all the deps. Let's be lazy and write a simple makefile. 141 142 postamble(<<"."); 142 pugs$Config{_exe} :: src/Pugs/Config.hs 143 pugs$Config{_exe} :: src/Pugs/Config.hs src/Pugs/Prelude.hs 143 144 \t\$(RM_F) dist/build/pugs/pugs$Config{_exe} 144 145 \t\$(RM_F) Pugs.cabal … … 167 168 upload-smoke : smoke.yml 168 169 \$(PERL) util/smokeserv/smokeserv-client.pl smoke.html smoke.yml 170 171 src/Pugs/Prelude.hs : src/perl6/Prelude.pm util/gen_prelude.pl 172 \$(PERL) util/gen_prelude.pl -v --touch --inline -i src/perl6/Prelude.pm --output src/Pugs/Prelude.hs 169 173 . 170 174
