Summary: | [Future EAPI] Consider that DOCS variable can contain directories | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Sergey Popov (RETIRED) <pinkbyte> |
Component: | PMS/EAPI | Assignee: | Package Manager Specification <pms> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | dev-zero, esigra |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | in-eapi-6 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 174380 |
Description
Sergey Popov (RETIRED)
![]() 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. |