1 |
El mié, 09-01-2013 a las 22:15 +0100, Pacho Ramos escribió: |
2 |
> El mié, 09-01-2013 a las 12:04 -0800, Zac Medico escribió: |
3 |
> > On 01/09/2013 11:53 AM, Pacho Ramos wrote: |
4 |
> > > This changes the name of eclass to readme.gentoo.eclass and gets |
5 |
> > > information from ${FILESDIR}/README.gentoo |
6 |
> > |
7 |
> > What if there are multiple versions/slots that have different |
8 |
> > README.gentoo content? Maybe the eclass should accommodate that somehow? |
9 |
> |
10 |
> I would go for versioning it as "${FILESDIR}"/README.gentoo-${PV} but, |
11 |
> in that case, I wouldn't know how to make it pick "major" |
12 |
> README.gentoo-${PV} to prevent people from needing to have one |
13 |
> README.gentoo-${PV} per version :S |
14 |
> |
15 |
> |
16 |
> Different slots shouldn't need any special handling as their docs should |
17 |
> be installed in their docdir/${PF} |
18 |
> |
19 |
> But the anterior "variable idea" looks to solve this problem much |
20 |
> better :| |
21 |
|
22 |
Maybe the best option would be to: |
23 |
1. At first look for variable in ebuild |
24 |
2. If not set, look for ${FILESDIR}/README.gentoo |