[svn:parrot] r44480 - branches/rm_cflags/lib/Parrot/Configure
coke at svn.parrot.org
coke at svn.parrot.org
Thu Feb 25 23:47:11 UTC 2010
Author: coke
Date: Thu Feb 25 23:47:10 2010
New Revision: 44480
URL: https://trac.parrot.org/parrot/changeset/44480
Log:
Treat .mak files like makefiles for the purpose of genfile
Modified:
branches/rm_cflags/lib/Parrot/Configure/Compiler.pm
Modified: branches/rm_cflags/lib/Parrot/Configure/Compiler.pm
==============================================================================
--- branches/rm_cflags/lib/Parrot/Configure/Compiler.pm Thu Feb 25 20:49:20 2010 (r44479)
+++ branches/rm_cflags/lib/Parrot/Configure/Compiler.pm Thu Feb 25 23:47:10 2010 (r44480)
@@ -344,7 +344,7 @@
open my $out, '>', "$target.tmp" or die "Can't open $target.tmp: $!";
if ( !exists $options{file_type}) {
- if ( $target =~ m/makefile$/i ) {
+ if ( $target =~ m/makefile$/i || $target =~ m/\.mak/) {
$options{file_type} = 'makefile';
}
elsif ($target =~ m/\.p[lm]$/i ) {
More information about the parrot-commits
mailing list