| 1 | # Copyright 2005 Gentoo Foundation |
1 | # Copyright 2005 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License, v2 or later |
2 | # Distributed under the terms of the GNU General Public License, v2 or later |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/twisted.eclass,v 1.1 2005/11/27 20:57:36 marienz Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/twisted.eclass,v 1.2 2006/01/01 01:14:59 swegener Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Marien Zwart <marienz@gentoo.org> |
5 | # Author: Marien Zwart <marienz@gentoo.org> |
| 6 | # |
6 | # |
| 7 | # eclass to aid installing and testing twisted packages. |
7 | # eclass to aid installing and testing twisted packages. |
| 8 | # |
8 | # |
| … | |
… | |
| 45 | rm -rf "${T}/${spath}" |
45 | rm -rf "${T}/${spath}" |
| 46 | } |
46 | } |
| 47 | |
47 | |
| 48 | twisted_src_install() { |
48 | twisted_src_install() { |
| 49 | distutils_src_install |
49 | distutils_src_install |
| 50 | |
50 | |
| 51 | if [[ -d doc/man ]]; then |
51 | if [[ -d doc/man ]]; then |
| 52 | doman doc/man/* |
52 | doman doc/man/* |
| 53 | fi |
53 | fi |
| 54 | |
54 | |
| 55 | if [[ -d doc ]]; then |
55 | if [[ -d doc ]]; then |
| 56 | insinto /usr/share/doc/${PF} |
56 | insinto /usr/share/doc/${PF} |
| 57 | doins -r $(find doc -mindepth 1 -maxdepth 1 -not -name man) |
57 | doins -r $(find doc -mindepth 1 -maxdepth 1 -not -name man) |
| 58 | fi |
58 | fi |
| 59 | } |
59 | } |