Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 350423 | Differences between
and this patch

Collapse All | Expand All

(-)a/eclass/autotools-utils.eclass (-2 / +20 lines)
Lines 393-399 autotools-utils_src_configure() { Link Here
393
		|| die 'autotools-utils.eclass: myeconfargs has to be an array.'
393
		|| die 'autotools-utils.eclass: myeconfargs has to be an array.'
394
394
395
	# Common args
395
	# Common args
396
	local econfargs=()
396
	local econfargs=(
397
		--docdir=/temporary-docdir
398
	)
397
399
398
	# Handle static-libs found in IUSE, disable them by default
400
	# Handle static-libs found in IUSE, disable them by default
399
	if in_iuse static-libs; then
401
	if in_iuse static-libs; then
Lines 458-463 autotools-utils_src_install() { Link Here
458
		dohtml -r "${HTML_DOCS[@]}" || die "dohtml failed"
460
		dohtml -r "${HTML_DOCS[@]}" || die "dohtml failed"
459
	fi
461
	fi
460
462
463
	# Move docs installed by autotools.
464
	if [[ -d ${D}/temporary-docdir ]]; then
465
		if [[ ${EAPI} = 4 ]]; then
466
			dodoc -r "${D}"/temporary-docdir/* || die "docdir dodoc failed"
467
		else
468
			local f
469
			for f in "${D}"/temporary-docdir/*; do
470
				[[ -d ${f} ]] \
471
					&& die "directories in docdir require at least EAPI 4"
472
			done
473
474
			dodoc "${D}"/temporary-docdir/* || die "docdir dodoc failed"
475
		fi
476
477
		rm -r "${D}"/temporary-docdir
478
	fi
479
461
	# Remove libtool files and unnecessary static libs
480
	# Remove libtool files and unnecessary static libs
462
	remove_libtool_files
481
	remove_libtool_files
463
}
482
}
464
- 

Return to bug 350423