| 1 | # Copyright 1999-2005 Gentoo Foundation |
1 | # Copyright 1999-2005 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/x-modular.eclass,v 1.104 2009/02/14 18:37:34 maekke Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.105 2009/02/18 18:40:52 dberkholz Exp $ |
| 4 | # |
4 | # |
| 5 | # @ECLASS: x-modular.eclass |
5 | # @ECLASS: x-modular.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Donnie Berkholz <dberkholz@gentoo.org>, x11@gentoo.org |
7 | # Donnie Berkholz <dberkholz@gentoo.org>, x11@gentoo.org |
| 8 | # @BLURB: Reduces code duplication in the modularized X11 ebuilds. |
8 | # @BLURB: Reduces code duplication in the modularized X11 ebuilds. |
| … | |
… | |
| 414 | # @VARIABLE: DOCS |
414 | # @VARIABLE: DOCS |
| 415 | # @DESCRIPTION: |
415 | # @DESCRIPTION: |
| 416 | # Any documentation to install |
416 | # Any documentation to install |
| 417 | [[ -n ${DOCS} ]] && dodoc ${DOCS} |
417 | [[ -n ${DOCS} ]] && dodoc ${DOCS} |
| 418 | |
418 | |
| 419 | # Make sure docs get compressed |
|
|
| 420 | prepalldocs |
|
|
| 421 | |
|
|
| 422 | # Don't install libtool archives for server modules |
419 | # Don't install libtool archives for server modules |
| 423 | if [[ -e ${D}/usr/$(get_libdir)/xorg/modules ]]; then |
420 | if [[ -e ${D}/usr/$(get_libdir)/xorg/modules ]]; then |
| 424 | find "${D}"/usr/$(get_libdir)/xorg/modules -name '*.la' \ |
421 | find "${D}"/usr/$(get_libdir)/xorg/modules -name '*.la' \ |
| 425 | | xargs rm -f |
422 | | xargs rm -f |
| 426 | fi |
423 | fi |