man1 docs do not exist when attempting to build ansible rpm for centos 5

I am attempting to build the ansible rpm from source for Centos 5 based on instructions here:

http://docs.ansible.com/ansible/intro_installation.html#basics-what-will-be-installed

When i run the ‘make rpm’ command I encounter the following error:

`

  • mkdir -p /var/tmp/ansible-2.4.0-100.git201703261333.ac74520.devel-buildroot/etc/ansible/

  • cp examples/hosts /var/tmp/ansible-2.4.0-100.git201703261333.ac74520.devel-buildroot/etc/ansible/

  • cp examples/ansible.cfg /var/tmp/ansible-2.4.0-100.git201703261333.ac74520.devel-buildroot/etc/ansible/

  • mkdir -p /var/tmp/ansible-2.4.0-100.git201703261333.ac74520.devel-buildroot//usr/share/man/man1/

  • cp -v ‘docs/man/man1/*.1’ /var/tmp/ansible-2.4.0-100.git201703261333.ac74520.devel-buildroot//usr/share/man/man1/

cp: cannot stat `docs/man/man1/*.1’: No such file or directory

`

As the output shows there is no ‘man1’ directory. There is a ‘man3’ directory but it is also empty.

Anybody run into this problem before?

Thanks.

I just changed how man pages are generated, try doing `make docs`
first, I'll look into why `make rpm` isn't also triggering this.