See $summary. It would be nice to do such assumption, e.g. do dodoc -r instead of just dodoc in default src_install phase
https://wiki.gentoo.org/index.php?title=Future_EAPI%2FEAPI_6_tentative_features&diff=41769&oldid=39385
Would it make sense to introduce "rsync-syntax" here as in: DOCS="directory/" does the same as "dodoc -r directory/*" DOCS="directory" does the same as "dodoc -r directory"
(In reply to Tiziano Müller from comment #2) > Would it make sense to introduce "rsync-syntax" here as in: > > DOCS="directory/" does the same as "dodoc -r directory/*" > DOCS="directory" does the same as "dodoc -r directory" I'd rather not, especially since the interpretation of trailing slashes has changed in POSIX.1-2008, insofar as "directory/" is no longer defined as being equivalent to "directory/." (as it still was in POSIX.1-2004). AFAICS, an explicit DOCS="directory/." should work for the first case above.
(In reply to Ulrich Müller from comment #3) > I'd rather not, especially since the interpretation of trailing slashes has > changed in POSIX.1-2008, insofar as "directory/" is no longer defined as > being equivalent to "directory/." (as it still was in POSIX.1-2004). > > AFAICS, an explicit DOCS="directory/." should work for the first case above. well, DOCS="directory/." is ok as well, as long as we have a way to express "dodoc directory/*" somehow.
In EAPI 6: https://gitweb.gentoo.org/proj/pms.git/commit/?id=1d699b5c40d334adc62fdb2e079851d8814b384b