Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ansible: Copy all man1 and man3 manuals to package

I hadn't noticed that by statically naming the man1 files we were
missing man pages for ansible-doc, ansible-pull, etc. Also, we were
completely missing the man3 pages for ansibles modules, like yum,
apt, ec2, etc.
  • Loading branch information...
commit 8d221a54eb3f4d542e391a9684e6b0d7541aa985 1 parent d92d7dd
@alanorth authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 ansible/PKGBUILD
View
6 ansible/PKGBUILD
@@ -30,8 +30,10 @@ package() {
install -D examples/ansible.cfg "${pkgdir}/etc/ansible/ansbile.cfg"
- install -D docs/man/man1/ansible.1 "${pkgdir}/usr/share/man/man1/ansible.1"
- install -D docs/man/man1/ansible-playbook.1 "${pkgdir}/usr/share/man/man1/ansible-playbook.1"
+ mkdir -p "${pkgdir}/usr/share/man/man1"
+ cp -dpr --no-preserve=ownership docs/man/man1/*.1 "${pkgdir}/usr/share/man/man1"
+ mkdir -p "${pkgdir}/usr/share/man/man3"
+ cp -dpr --no-preserve=ownership docs/man/man3/*.3 "${pkgdir}/usr/share/man/man3"
}
# vim:set ts=2 sw=2 et:
Please sign in to comment.
Something went wrong with that request. Please try again.