| 1 | # Copyright 1999-2008 Gentoo Foundation |
1 | # Copyright 1999-2008 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/latex-package.eclass,v 1.34 2008/07/19 09:22:54 tove Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/latex-package.eclass,v 1.35 2008/08/30 12:49:36 aballier Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: latex-package.eclass |
5 | # @ECLASS: latex-package.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # TeX team <tex@gentoo.org> |
7 | # TeX team <tex@gentoo.org> |
| 8 | # |
8 | # |
| … | |
… | |
| 111 | done |
111 | done |
| 112 | ;; |
112 | ;; |
| 113 | "dvi" | "ps" | "pdf") |
113 | "dvi" | "ps" | "pdf") |
| 114 | for i in `find . -maxdepth 1 -type f -name "*.${1}"` |
114 | for i in `find . -maxdepth 1 -type f -name "*.${1}"` |
| 115 | do |
115 | do |
| 116 | insinto /usr/share/doc/${P} |
116 | insinto /usr/share/doc/${PF} |
| 117 | doins $i || die "doins $i failed" |
117 | doins $i || die "doins $i failed" |
| 118 | #dodoc -u $i |
118 | #dodoc -u $i |
| 119 | done |
119 | done |
| 120 | ;; |
120 | ;; |
| 121 | "tex" | "dtx") |
121 | "tex" | "dtx") |