/[gentoo-x86]/eclass/kde4-base.eclass
Gentoo

Diff of /eclass/kde4-base.eclass

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

Revision 1.61 Revision 1.62
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 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/kde4-base.eclass,v 1.61 2010/05/15 15:19:04 reavertm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.62 2010/05/17 01:16:39 reavertm Exp $
4 4
5# @ECLASS: kde4-base.eclass 5# @ECLASS: kde4-base.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# @BLURB: This eclass provides functions for kde 4.X ebuilds 8# @BLURB: This eclass provides functions for kde 4.X ebuilds
723 fi 723 fi
724 724
725 # Install common documentation of KDE4 applications 725 # Install common documentation of KDE4 applications
726 local doc 726 local doc
727 if ! has kde4-meta ${INHERITED}; then 727 if ! has kde4-meta ${INHERITED}; then
728 for doc in AUTHORS ChangeLog* README* NEWS TODO HACKING; do 728 for doc in "${S}"/{AUTHORS,CHANGELOG,ChangeLog*,README*,NEWS,TODO,HACKING}; do
729 [[ -s "${S}/${doc}" ]] && dodoc "${doc}" 729 [[ -s "${doc}" ]] && dodoc "${doc}"
730 done 730 done
731 # kdelibs, kdepimlibs
732 if [[ -z ${KMNAME} ]]; then
733 for doc in "${S}"/*/{AUTHORS,ChangeLog*,README*,NEWS,TODO,HACKING}; do 731 for doc in "${S}"/*/{AUTHORS,CHANGELOG,ChangeLog*,README*,NEWS,TODO,HACKING}; do
734 if [[ -s "${S}/${doc}" ]]; then 732 [[ -s "${doc}" ]] && newdoc "${doc}" "$(basename $(dirname ${doc})).$(basename ${doc})"
735 local doc_complete=${doc}
736 doc="${doc#*/}"
737 newdoc "$doc_complete" "${doc%/*}.${doc##*/}"
738 fi
739 done 733 done
740 fi
741 fi 734 fi
742 735
743 cmake-utils_src_install 736 cmake-utils_src_install
744} 737}
745 738

Legend:
Removed from v.1.61  
changed lines
  Added in v.1.62

  ViewVC Help
Powered by ViewVC 1.1.20