/[gentoo-x86]/eclass/kernel-2.eclass
Gentoo

Diff of /eclass/kernel-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.143 Revision 1.144
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/kernel-2.eclass,v 1.143 2005/08/31 14:39:04 brix Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.144 2005/09/12 09:20:28 johnm Exp $
4 4
5# Description: kernel.eclass rewrite for a clean base regarding the 2.6 5# Description: kernel.eclass rewrite for a clean base regarding the 2.6
6# series of kernel with back-compatibility for 2.4 6# series of kernel with back-compatibility for 2.4
7# 7#
8# Maintainer: John Mylchreest <johnm@gentoo.org> 8# Maintainer: John Mylchreest <johnm@gentoo.org>
503 fi 503 fi
504 504
505 for doc in ${UNIPATCH_DOCS}; do [[ -f ${doc} ]] && docs="${docs} ${doc}"; done 505 for doc in ${UNIPATCH_DOCS}; do [[ -f ${doc} ]] && docs="${docs} ${doc}"; done
506 if [[ -f ${S}/patches.txt ]]; then docs="${docs} ${S}/patches.txt"; fi 506 if [[ -f ${S}/patches.txt ]]; then docs="${docs} ${S}/patches.txt"; fi
507 use doc && ! use arm && ! use s390 && install_manpages 507 use doc && ! use arm && ! use s390 && install_manpages
508 dodoc ${docs} 508 use doc && [[ -n ${docs} ]] && dodoc ${docs}
509 509
510 mv ${WORKDIR}/linux* ${D}/usr/src 510 mv ${WORKDIR}/linux* ${D}/usr/src
511} 511}
512 512
513install_manpages() { 513install_manpages() {
772 die "Unable to dry-run patch." 772 die "Unable to dry-run patch."
773 fi 773 fi
774 done 774 done
775 done 775 done
776 776
777 # This is a quick, and kind of nasty hack to deal with UNIPATCH_DOCS which
778 # sit in KPATCH_DIR's. This is handled properly in the unipatch rewrite,
779 # which is why I'm not taking too much time over this.
780 local tmp
781 for i in ${UNIPATCH_DOCS}; do
782 tmp="${tmp} ${i//*\/}"
783 cp -f ${i} ${T}/
784 done
785 UNIPATCH_DOCS="${tmp}"
786
777 # clean up KPATCH_DIR's - fixes bug #53610 787 # clean up KPATCH_DIR's - fixes bug #53610
778 for x in ${KPATCH_DIR}; do rm -Rf ${x}; done 788 for x in ${KPATCH_DIR}; do rm -Rf ${x}; done
779 789
780 LC_ALL="${myLC_ALL}" 790 LC_ALL="${myLC_ALL}"
781 LANG="${myLANG}" 791 LANG="${myLANG}"

Legend:
Removed from v.1.143  
changed lines
  Added in v.1.144

  ViewVC Help
Powered by ViewVC 1.1.20