doc/Makefile: Replace non-portable echo(1) calls

The `echo(1)` behavior is system-dependent, the `printf(1)` behavior is not.