On Wed, Jun 9, 2010 at 2:08 PM, Stephan Beal <[email protected]> wrote:
> On Wed, Jun 9, 2010 at 6:48 PM, Peng Yu <[email protected]> wrote:
>
>  $(DIFF_BL2SEQ): %.diff.bl2seq: %.megablast.bl2seq %.blastn.bl2seq
>        diff $^ > $@
>
>>
>> -rw------- 1 807 2010-06-09 11:34
>> HWI-EAS11X_10097__4__1__15045__4929__0.blastn.bl2seq
>> -rw------- 1 614 2010-06-09 11:34
>> HWI-EAS11X_10097__4__1__15045__4929__0.megablast.bl2seq
>
>
>>
>> /make_test_long$ make
>> diff HWI-EAS11X_10097__4__1__15045__4929__0.megablast.bl2seq
>> HWI-EAS11X_10097__4__1__15045__4929__0.blastn.bl2seq >
>> HWI-EAS11X_10097__4__1__15045__4929__0.diff.bl2seq
>> make: *** [HWI-EAS11X_10097__4__1__15045__4929__0.diff.bl2seq] Error 1
>
> it's failing because "diff" is ending with a non-zero error code. The files
> are different (they have different sizes), so diff tells you so by exiting
> with code 1. If you want to ignore an error code from the diff then do one
> of:
> �...@diff ...
> or:
>   diff ...; true

The first doesn't work. Only the second works. Thank you for point it
out. Otherwise, I would have puzzled for a long time.

-- 
Regards,
Peng

_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to