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 / +23 lines)
Lines 377-383 autotools-utils_src_configure() { Link Here
377
		|| die 'autotools-utils.eclass: myeconfargs has to be an array.'
377
		|| die 'autotools-utils.eclass: myeconfargs has to be an array.'
378
378
379
	# Common args
379
	# Common args
380
	local econfargs=()
380
	local econfargs=(
381
#	for EAPI >= 4, we could:
382
#		--docdir="${EPREFIX}"/usr/share/doc/${PF}
383
#	for all EAPIs, it's simpler to:
384
		--docdir=/tmp/temporary-docdir
385
	)
381
386
382
	# Handle static-libs found in IUSE, disable them by default
387
	# Handle static-libs found in IUSE, disable them by default
383
	if in_iuse static-libs; then
388
	if in_iuse static-libs; then
Lines 442-447 autotools-utils_src_install() { Link Here
442
		dohtml -r "${HTML_DOCS[@]}" || die "dohtml failed"
447
		dohtml -r "${HTML_DOCS[@]}" || die "dohtml failed"
443
	fi
448
	fi
444
449
450
	# Move docs installed by autotools.
451
	if [[ -d ${D}/tmp/temporary-docdir ]]; then
452
		if [[ ${EAPI} = 4 ]]; then
453
			dodoc -r "${D}"/tmp/temporary-docdir/* || die "docdir dodoc failed"
454
		else
455
			local f
456
			for f in "${D}"/tmp/temporary-docdir/*; do
457
				[[ -d ${f} ]] \
458
					&& die "directories in docdir require at least EAPI 4"
459
			done
460
461
			dodoc "${D}"/tmp/temporary-docdir/* || die "docdir dodoc failed"
462
		fi
463
464
		rm -r "${D}"/tmp/temporary-docdir
465
	fi
466
445
	# Remove libtool files and unnecessary static libs
467
	# Remove libtool files and unnecessary static libs
446
	remove_libtool_files
468
	remove_libtool_files
447
}
469
}
448
- 

Return to bug 350423