/[gentoo-x86]/eclass/autotools-utils.eclass
Gentoo

Diff of /eclass/autotools-utils.eclass

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

Revision 1.53 Revision 1.54
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/autotools-utils.eclass,v 1.53 2012/05/28 07:46:59 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.54 2012/06/06 15:43:45 mgorny Exp $
4 4
5# @ECLASS: autotools-utils.eclass 5# @ECLASS: autotools-utils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Maciej Mrozowski <reavertm@gentoo.org> 7# Maciej Mrozowski <reavertm@gentoo.org>
8# Michał Górny <mgorny@gentoo.org> 8# Michał Górny <mgorny@gentoo.org>
202# In most cases it's not necessary to manually invoke this function. 202# In most cases it's not necessary to manually invoke this function.
203# See autotools-utils_src_install for reference. 203# See autotools-utils_src_install for reference.
204remove_libtool_files() { 204remove_libtool_files() {
205 debug-print-function ${FUNCNAME} "$@" 205 debug-print-function ${FUNCNAME} "$@"
206 local removing_all 206 local removing_all
207
208 eqawarn "The remove_libtool_files() function was deprecated."
209 eqawarn "Please use prune_libtool_files() from eutils eclass instead."
210
207 [[ ${#} -le 1 ]] || die "Invalid number of args to ${FUNCNAME}()" 211 [[ ${#} -le 1 ]] || die "Invalid number of args to ${FUNCNAME}()"
208 if [[ ${#} -eq 1 ]]; then 212 if [[ ${#} -eq 1 ]]; then
209 case "${1}" in 213 case "${1}" in
210 all) 214 all)
211 removing_all=1 215 removing_all=1
470 if [[ ${HTML_DOCS} ]]; then 474 if [[ ${HTML_DOCS} ]]; then
471 dohtml -r "${HTML_DOCS[@]}" || die "dohtml failed" 475 dohtml -r "${HTML_DOCS[@]}" || die "dohtml failed"
472 fi 476 fi
473 477
474 # Remove libtool files and unnecessary static libs 478 # Remove libtool files and unnecessary static libs
475 remove_libtool_files 479 prune_libtool_files
476} 480}
477 481
478# @FUNCTION: autotools-utils_src_test 482# @FUNCTION: autotools-utils_src_test
479# @DESCRIPTION: 483# @DESCRIPTION:
480# The autotools src_test function. Runs emake check in build directory. 484# The autotools src_test function. Runs emake check in build directory.

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54

  ViewVC Help
Powered by ViewVC 1.1.20