Fix portability of make rules to build documentation

Support for "$<" automatic variable in non-suffix rules is a GNU Make
extension: don't use it.