ao Makefile does not honor "mandir"
The ./configure allows using --mandir. But it also overrides in Makefile.am using MANDIR (instead of @mandir@).
Please use @mandir@ instead. Please remove your MANDIR from configure and Makefile.am. Just use the normal defaults.
The problem is you use --mandir and then it does not work like is expected.