Ticket #458: makefiles.p1

File makefiles.p1, 0.6 KB (added by doughera, 6 years ago)
Line 
1--- parrot-svn/config/gen/makefiles.pm  2009-03-16 08:58:04.000000000 -0400
2+++ parrot-andy/config/gen/makefiles.pm 2009-03-16 10:32:15.299615246 -0400
3@@ -119,6 +119,12 @@
4         ? split ' ', $targets
5         : keys %{ $self->{makefiles} };
6 
7+    # As of 1.0, the languages directory is empty and needs to
8+    # be created (unless a previous run created it already.)
9+    if (! -d "languages") {
10+        mkdir "languages" or die "Unable to create directory 'languages': $!\n";
11+    }
12+
13     foreach my $target (@targets) {
14         $target =~ s/\\/\//g if $^O eq 'MSWin32';
15         my $args   = $self->{makefiles}->{$target};