When doing an install (I'm on x86_64-sun-solaris2.10, but that doesn't matter in this case) in the doc/html
directory, the install-data-local fails for the API documentation.
This happens because of the way that the install-data-local target is written. The target references $(INSTALL_DATA), which will likely be a relative path, but it tries to do so in a command that cd's into the api directory, so the relative path is off.
One possible fix is to not cd into the api directory for the install rule. The patch that I'll attach takes that approach.
The possible problem with that approach is that it adds to the length of the command line that gets invoked after the glob is expanded, so it may cause problems on some platforms.