Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 486360

Summary: font.eclass: use einstalldocs from eutils.eclass instead of custom detection
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: EclassesAssignee: Gentoo Fonts Team <fonts>
Status: RESOLVED FIXED    
Severity: normal CC: ulm
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2013-09-28 19:11:58 UTC
# install common docs
        for commondoc in COPYRIGHT README{,.txt} NEWS AUTHORS BUGS ChangeLog FONTLOG.txt; do
                [[ -s ${commondoc} ]] && dodoc ${commondoc}
        done

could be replaced with edocinstall from eutils.eclass and eapi6

Thanks
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2014-02-27 16:09:39 UTC
(In reply to Pacho Ramos from comment #0)
> # install common docs
>         for commondoc in COPYRIGHT README{,.txt} NEWS AUTHORS BUGS ChangeLog
> FONTLOG.txt; do
>                 [[ -s ${commondoc} ]] && dodoc ${commondoc}
>         done
> 
> could be replaced with edocinstall from eutils.eclass and eapi6

you must mean `einstalldocs` instead of `edoc...`
Comment 2 Ulrich Müller gentoo-dev 2022-07-29 08:06:20 UTC
Looks like this is fixed? font_src_install does this now:

	einstalldocs

	# install common docs
	for commondoc in COPYRIGHT FONTLOG.txt; do
		[[ -s ${commondoc} ]] && dodoc ${commondoc}
	done
Comment 3 Ulrich Müller gentoo-dev 2024-01-08 13:26:12 UTC
Closing as per comment #2.