Changeset 20057 for util

Show
Ignore:
Timestamp:
03/04/08 16:13:12 (10 months ago)
Author:
gbacon
Message:

Improvements to cabal build. Build still fails on src/Pugs/AST/Internals/Instances.hs.

Location:
util
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • util/build_pugs.pl

    r19962 r20057  
    282282 
    283283    $run_setup = sub { system($setup, @_) }; 
    284     $run_setup->('configure', @configure_args, grep { !/^--.*=$/ } @{$opts->{SETUP}}); 
     284    $run_setup->('configure', '--user', @configure_args, grep { !/^--.*=$/ } @{$opts->{SETUP}}); 
    285285 
    286286    build_lib($version, $ghc, @args); 
  • util/gen_prelude.pl

    r16503 r20057  
    6767    strip_comments($program); 
    6868    $program =~ s{(["\\])}{\\$1}g; 
    69     $program =~ s{\r?\n}{\\n\\\n\\}g; 
     69    $program =~ s{\r?\n}{\\n" ++\n "}g; 
    7070 
    7171    print OUT <<'.';