Clean up paths in docs/Makefile.am

(patch from bug 686517)