On Solaris 10, after a successful build, the "gmake install" part fails with the following error:
(cd api && ../.././install-sh -c -m 644 * /opt/games/scummvm/share/doc/flac-1.2.1/html/api)
/bin/bash: ../.././install-sh: No such file or directory
gmake: *** [install-data-local] Error 127
After checking, there's a dot missing, it should be ../../../install-sh.
I worked around it easily by using the system's BSD install instead:
gmake INSTALL=/usr/ucb/install install