1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

distribution packaging should install all manpages

closes #1069
This commit is contained in:
Matt Klich 2012-09-21 11:01:35 -06:00
parent b8c4bb9e6e
commit 21e23b34d2
2 changed files with 3 additions and 6 deletions

View file

@ -36,9 +36,7 @@ package() {
cp ./library/* ${pkgdir}/usr/share/ansible/ cp ./library/* ${pkgdir}/usr/share/ansible/
python setup.py install -O1 --root=${pkgdir} python setup.py install -O1 --root=${pkgdir}
install -D docs/man/man1/ansible.1 ${pkgdir}/usr/share/man/man1/ansible.1 install docs/man/man1/*.1 ${pkgdir}/usr/share/man/man1/
install -D docs/man/man1/ansible-playbook.1 ${pkgdir}/usr/share/man/man1/ansible-playbook.1
gzip -9 ${pkgdir}/usr/share/man/man1/ansible.1 gzip -9 ${pkgdir}/usr/share/man/man1/*.1
gzip -9 ${pkgdir}/usr/share/man/man1/ansible-playbook.1
} }

View file

@ -1,5 +1,4 @@
examples/hosts etc/ansible examples/hosts etc/ansible
library/* usr/share/ansible library/* usr/share/ansible
docs/man/man1/ansible.1 usr/share/man/man1 docs/man/man1/*.1 usr/share/man/man1
docs/man/man1/ansible-playbook.1 usr/share/man/man1
bin/* usr/bin bin/* usr/bin