/[gentoo-x86]/eclass/gnome2.eclass
Gentoo

Diff of /eclass/gnome2.eclass

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

Revision 1.111 Revision 1.112
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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/gnome2.eclass,v 1.111 2012/11/17 13:03:05 pacho Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.112 2012/11/24 19:00:49 pacho Exp $
4 4
5# @ECLASS: gnome2.eclass 5# @ECLASS: gnome2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# gnome@gentoo.org 7# gnome@gentoo.org
8# @BLURB: 8# @BLURB:
185 einstall "scrollkeeper_localstate_dir=${ED}${sk_tmp_dir} " "$@" || die "einstall failed" 185 einstall "scrollkeeper_localstate_dir=${ED}${sk_tmp_dir} " "$@" || die "einstall failed"
186 fi 186 fi
187 187
188 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL 188 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
189 189
190 # Handle documentation as 'default' for eapi5 and newer, bug #373131
191 if has ${EAPI:-0} 0 1 2 3 4; then
190 # Manual document installation 192 # Manual document installation
191 if [[ -n "${DOCS}" ]]; then 193 if [[ -n "${DOCS}" ]]; then
192 dodoc ${DOCS} || die "dodoc failed" 194 dodoc ${DOCS} || die "dodoc failed"
195 fi
196 else
197 if ! declare -p DOCS >/dev/null 2>&1 ; then
198 local d
199 for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \
200 FAQ CREDITS CHANGELOG ; do
201 [[ -s "${d}" ]] && dodoc "${d}"
202 done
203 # TODO: wrong "declare -a" command..., should be fixed in PMS at first
204 elif declare -p DOCS | grep -q `^declare -a` ; then
205 dodoc "${DOCS[@]}"
206 else
207 dodoc ${DOCS}
208 fi
193 fi 209 fi
194 210
195 # Do not keep /var/lib/scrollkeeper because: 211 # Do not keep /var/lib/scrollkeeper because:
196 # 1. The scrollkeeper database is regenerated at pkg_postinst() 212 # 1. The scrollkeeper database is regenerated at pkg_postinst()
197 # 2. ${ED}/var/lib/scrollkeeper contains only indexes for the current pkg 213 # 2. ${ED}/var/lib/scrollkeeper contains only indexes for the current pkg

Legend:
Removed from v.1.111  
changed lines
  Added in v.1.112

  ViewVC Help
Powered by ViewVC 1.1.20