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/10/16 03:29:52 UTC

[lucy-commits] svn commit: r1183778 - /incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm

Author: marvin
Date: Sun Oct 16 01:29:52 2011
New Revision: 1183778

URL: http://svn.apache.org/viewvc?rev=1183778&view=rev
Log:
Only check if C file is up to date because Lemon doesn't regenerate the header
file unless it has to.

Modified:
    incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm

Modified: incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm
URL: http://svn.apache.org/viewvc/incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm?rev=1183778&r1=1183777&r2=1183778&view=diff
==============================================================================
--- incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm (original)
+++ incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm Sun Oct 16 01:29:52 2011
@@ -106,7 +106,7 @@ sub ACTION_parsers {
         my $h_file = $y_file;
         $c_file =~ s/\.y$/.c/ or die "no match";
         $h_file =~ s/\.y$/.h/ or die "no match";
-        next if $self->up_to_date( $y_file, [ $c_file, $h_file ] );
+        next if $self->up_to_date( $y_file, $c_file );
         $self->add_to_cleanup( $c_file, $h_file );
         system( $LEMON_EXE_PATH, '-q', $y_file ) and die "lemon failed";
     }