| 144 | | my $process_file = 0; |
|---|
| 145 | | |
|---|
| 146 | | if (!$processor->is_incremental_capable() || !$self->{'incremental'}) { |
|---|
| 147 | | $process_file = 1; |
|---|
| 148 | | } |
|---|
| 149 | | else { |
|---|
| 150 | | # is incremental |
|---|
| 151 | | |
|---|
| 152 | | # check to see if file needs to be indexed |
|---|
| 153 | | $index_status = $archive_info->get_status_info($doc_oid); |
|---|
| 154 | | |
|---|
| 155 | | if ($index_status eq "I") { |
|---|
| 156 | | $process_file = 1; |
|---|
| | 143 | # ...unless the build processor is incremental capable and -incremental was specified |
|---|
| | 144 | if ($processor->is_incremental_capable() && $self->{'incremental'}) |
|---|
| | 145 | { |
|---|
| | 146 | # We don't need to process the file if it has already been built |
|---|
| | 147 | my $doc_oid = $subfile->[1]; |
|---|
| | 148 | my $index_status = $archive_info->get_status_info($doc_oid); |
|---|
| | 149 | if ($index_status eq "B") |
|---|
| | 150 | { |
|---|
| | 151 | # Don't process this file |
|---|
| | 152 | $process_file = 0; |
|---|