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

**URL:** <https://forum.ansible.com/t/man1-docs-do-not-exist-when-attempting-to-build-ansible-rpm-for-centos-5/24066>\
**Category:** Ansible Project\
**Created:** [March 27, 2017, 1:52am UTC](https://forum.ansible.com/t/man1-docs-do-not-exist-when-attempting-to-build-ansible-rpm-for-centos-5/24066 "2017-03-27T01:52:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Haani\_Niyaz](https://avatars.discourse-cdn.com/v4/letter/h/b487fb/32.png) [@Haani\_Niyaz](https://forum.ansible.com/u/Haani_Niyaz)\
**Post date:** [March 27, 2017, 1:52am UTC](https://forum.ansible.com/t/man1-docs-do-not-exist-when-attempting-to-build-ansible-rpm-for-centos-5/24066/1 "2017-03-27T01:52:42Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [March 27, 2017, 1:25pm UTC](https://forum.ansible.com/t/man1-docs-do-not-exist-when-attempting-to-build-ansible-rpm-for-centos-5/24066/2 "2017-03-27T13:25:30Z")

</div>

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.
