Changeset 21678 for Makefile.PL
- Timestamp:
- 08/01/08 14:26:21 (5 months ago)
- Files:
-
- 1 modified
-
Makefile.PL (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Makefile.PL
r21670 r21678 17 17 18 18 my $setup_exe = File::Spec->catfile('.', "Setup$Config{_exe}"); 19 20 unlink $_ for qw(Setup.hi Setup.o); 21 unlink $setup_exe; 19 22 system($ghc, qw(--make -O0), -o => $setup_exe, 'Setup.lhs'); 20 23 my $app_dir = `$setup_exe -d`; 21 24 chomp $app_dir; 25 26 die "Cannot find application directory '$app_dir'; check to see if Setup.lhs compiles?\n" 27 unless $app_dir and -d $app_dir; 22 28 23 29 my $bin_dir = File::Spec->catdir($app_dir, 'bin');
