There may be an error in this? Not sure, but in my code, I'm getting an error. I removed @ from the beginning the shell code in Makefile so that I can see the output: if test "xgi.o" != "x" ; then \ /usr/local/pike/8.0.610/include/pike/install_module module.so /usr/local/pike/8.0.610/lib/modules/___GI.so && \ fi; \
[...]
/bin/sh: -c: line 2: syntax error near unexpected token `fi' /bin/sh: -c: line 2: `fi; ' make: *** [Makefile:449: install] Error 1
The error is the && at the end of ___GI.so above, it should be replaced with ; (semicolon).
The problem is most likely the '&&' at the end of the install_modules command. It causes the following 'fi' to execute in the wrong context.