Permalink
Browse files

[GH #910] make clean on linux|darwin even without lib/Parrot/Config/G…

…enerated.pm
  • Loading branch information...
1 parent 06933e5 commit 264d34e231e284a158c01e72669c680959a4f956 @rurban rurban committed Jan 7, 2013
Showing with 5 additions and 6 deletions.
  1. +5 −6 Configure.pl
View
11 Configure.pl
@@ -85,14 +85,13 @@
if (do 'lib/Parrot/Config/Generated.pm') {
my $make = $Parrot::Config::Generated::PConfig{make};
if ($make and -f 'Makefile') {
- if ($Parrot::Config::Generated::PConfig{gmake_version}) {
- system ($make, '-s', 'clean');
- }
- else {
- system ($make, 'clean');
- }
+ $Parrot::Config::Generated::PConfig{gmake_version}
+ ? system ($make, '-s', 'clean') : system ($make, 'clean');
}
}
+elsif (-f 'Makefile' and $^O =~ /(linux|darwin)/) {
+ system ('make', '-s', 'clean');
+}
# Run the actual steps from Parrot::Configure
$conf->runsteps or exit(1);

0 comments on commit 264d34e

Please sign in to comment.