/[gentoo-x86]/eclass/toolchain-binutils.eclass
Gentoo

Diff of /eclass/toolchain-binutils.eclass

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

Revision 1.89 Revision 1.90
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/toolchain-binutils.eclass,v 1.89 2010/01/28 00:25:22 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.90 2010/03/07 16:32:07 vapier Exp $
4# 4#
5# Maintainer: Toolchain Ninjas <toolchain@gentoo.org> 5# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
6# 6#
7# We install binutils into CTARGET-VERSION specific directories. This lets 7# We install binutils into CTARGET-VERSION specific directories. This lets
8# us easily merge multiple versions for multiple targets (if we wish) and 8# us easily merge multiple versions for multiple targets (if we wish) and
228 228
229 emake all || die "emake failed" 229 emake all || die "emake failed"
230 230
231 # only build info pages if we user wants them, and if 231 # only build info pages if we user wants them, and if
232 # we have makeinfo (may not exist when we bootstrap) 232 # we have makeinfo (may not exist when we bootstrap)
233 if ! has noinfo ${FEATURES} ; then
234 if type -p makeinfo > /dev/null ; then 233 if type -p makeinfo > /dev/null ; then
235 emake info || die "make info failed" 234 emake info || die "make info failed"
236 fi
237 fi 235 fi
238 # we nuke the manpages when we're left with junk 236 # we nuke the manpages when we're left with junk
239 # (like when we bootstrap, no perl -> no manpages) 237 # (like when we bootstrap, no perl -> no manpages)
240 find . -name '*.1' -a -size 0 | xargs rm -f 238 find . -name '*.1' -a -size 0 | xargs rm -f
241 239
363 docinto libiberty 361 docinto libiberty
364 dodoc libiberty/ChangeLog* libiberty/README 362 dodoc libiberty/ChangeLog* libiberty/README
365 docinto opcodes 363 docinto opcodes
366 dodoc opcodes/ChangeLog* 364 dodoc opcodes/ChangeLog*
367 fi 365 fi
368 # Punt all the fun stuff if user doesn't want it :)
369 has noinfo ${FEATURES} && rm -r "${D}"/${DATAPATH}/info
370 has noman ${FEATURES} && rm -r "${D}"/${DATAPATH}/man
371 # Remove shared info pages 366 # Remove shared info pages
372 rm -f "${D}"/${DATAPATH}/info/{dir,configure.info,standards.info} 367 rm -f "${D}"/${DATAPATH}/info/{dir,configure.info,standards.info}
373 # Trim all empty dirs 368 # Trim all empty dirs
374 find "${D}" -type d | xargs rmdir >& /dev/null 369 find "${D}" -type d | xargs rmdir >& /dev/null
375} 370}

Legend:
Removed from v.1.89  
changed lines
  Added in v.1.90

  ViewVC Help
Powered by ViewVC 1.1.20