You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/06/19 05:05:58 UTC
[lucy-commits] svn commit: r1137278 - /incubator/lucy/trunk/perl/buildlib/Lucy/Build.pm
Author: marvin
Date: Sun Jun 19 03:05:58 2011
New Revision: 1137278
URL: http://svn.apache.org/viewvc?rev=1137278&view=rev
Log:
Use _run_make() in one more place.
Modified:
incubator/lucy/trunk/perl/buildlib/Lucy/Build.pm
Modified: incubator/lucy/trunk/perl/buildlib/Lucy/Build.pm
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/perl/buildlib/Lucy/Build.pm?rev=1137278&r1=1137277&r2=1137278&view=diff
==============================================================================
--- incubator/lucy/trunk/perl/buildlib/Lucy/Build.pm (original)
+++ incubator/lucy/trunk/perl/buildlib/Lucy/Build.pm Sun Jun 19 03:05:58 2011
@@ -738,13 +738,7 @@ sub ACTION_clean {
system("$^X $CLOWNFISH_BUILD clean")
and die "Clownfish clean failed";
}
-
- my $dir = getcwd();
- chdir $CHARMONIZER_ORIG_DIR;
- my $rv = system($self->config('cc') eq 'cl' ? 'nmake' : 'make',
- $self->config('cc') eq 'cl' ? ("-f", "Makefile.win") : (), "clean");
- chdir $dir;
-
+ $self->_run_make( dir => $CHARMONIZER_ORIG_DIR, args => ['clean'] );
$self->SUPER::ACTION_clean;
}