If you like to point to documentation it would be cool to expand things like $PF. Is this possible?
Not sure what do you mean sorry. It's now properly showing the directory when README.gentoo* ends up being installed, no? (at least in my case looks to work) Thanks for the explanation :)
I mean if you like to put the following in the README.gentoo """ You can find an example config in /usr/share/doc/${PF}/foo.rc """ then there will be "${PF}" in the README instead of the variable content. Can we filter this? e.g. @PF@ -> ${PF}
Then, I guess that instead of simply copying the file with "cp" as done currently we need something like: eval echo $(cat "${FILESDIR}/README.gentoo-${SLOT%/*}") > "${T}"/README.gentoo || die
As discussed at: http://www.gossamer-threads.com/lists/gentoo/dev/291632 Will be better to handle only a set of known variables. I am thinking in handling: PF, PN, P, PV, HOMEPAGE Do you think any other variable could be useful to be handled? Thanks
I have been playing with the x= substitutions suggested by mgorny but failed (things get shown disordered), will try with sed later :S