Current default does: src_install() { if [[ -f Makefile ]] || [[ -f GNUmakefile]] || [[ -f makefile ]] ; then emake DESTDIR="${D}" install fi if ! declare -p DOCS >/dev/null 2>&1 ; then local d for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \ FAQ CREDITS CHANGELOG ; do [[ -s "${d}" ]] && dodoc "${d}" done elif declare -p DOCS | grep -q "^declare -a " ; then dodoc "${DOCS[@]}" else dodoc ${DOCS} fi } But looks like some packages use "AUTHORS" instead of "CREDITS", I think would be interesting to check for it also Thanks Reproducible: Always
(In reply to Pacho Ramos from comment #0) > for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \ ^^^^^^^ > FAQ CREDITS CHANGELOG ; do > But looks like some packages use "AUTHORS" instead of "CREDITS", I think > would be interesting to check for it also
Then, I don't understand why I need to specify DOCS in gupnp-av (and other ebuild I saw yesterday) to get AUTHORS installed :O
(In reply to Pacho Ramos from comment #2) is it in $S ? is it an empty file ?
(In reply to SpanKY from comment #3) > (In reply to Pacho Ramos from comment #2) > > is it in $S ? is it an empty file ? It's in ${S} and is not empty :|
Maybe DOCS creeping in from the environment?
Well, I don't set DOCS anywhere in my system and looks like it's neither set on any inherited eclass :S
I cannot reproduce your problem. I've commented out the DOCS assignment in gupnp-av-0.12.2.ebuild and it correctly installs AUTHORS in /usr/share/doc/${PF}/.
Do you know if I can provide some kind of "debugging" output from portage to get info that could help to know where could be the problem? :/
You could at least do; echo "${DOCS[@]}" on top of src_install(). Then, you could try something like: set -x default set +x to get verbose output of what's happening when you call default.
(In reply to Pacho Ramos from comment #8) emerge --debug <pkg> that'll run all bash code with `set -x`
Sorry for the noise, it works properly -> It was ChangeLog file that wasn't installed because it's empty Sorry a lot :S