[EMAIL PROTECTED] writes:

> in fact, the problem is something in the syntax of the 
> test:
>  $(if $(findstring no, $(TEXI2DVI)),, 
>
> Forcing either branch does not lead to the error.
> Only the intact (if (test),(then),(else)) form leads to the problem. 

Which version of make do you run? Could you, please, use the appended
test.makefile for the following tests:

[EMAIL PROTECTED]:[583] make -f test.makefile yes
then yes
[EMAIL PROTECTED]:[584] make -f test.makefile no
else no

The output shall appear as given in the example.

Best regards, Michael.

.SILENT:

%:
        $(if $(findstring yes, $(MAKECMDGOALS)), \
                @echo then $(MAKECMDGOALS), \
                @echo else $(MAKECMDGOALS))
_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to