diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-08-17 20:20:28 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-12-04 15:01:34 +0100 |
commit | 6bedf0ae0fdd59123a9b16cc195dfb22cb293fa9 (patch) | |
tree | 2a922bda217c75a333b99505104be7c2387a9b2d /bin/eapi.sh | |
parent | Add tentative support for EAPI6 get_libdir() (diff) | |
download | portage-6bedf0ae0fdd59123a9b16cc195dfb22cb293fa9.tar.gz portage-6bedf0ae0fdd59123a9b16cc195dfb22cb293fa9.tar.bz2 portage-6bedf0ae0fdd59123a9b16cc195dfb22cb293fa9.zip |
Add tentative support for EAPI6 einstalldocs function
Add the einstalldocs function to conveniently install documentation
using the default patterns or DOCS and HTML_DOCS variables.
Diffstat (limited to 'bin/eapi.sh')
-rw-r--r-- | bin/eapi.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/eapi.sh b/bin/eapi.sh index 6ace20d10..978a410fa 100644 --- a/bin/eapi.sh +++ b/bin/eapi.sh @@ -68,6 +68,10 @@ ___eapi_has_get_libdir() { [[ ! ${1-${EAPI}} =~ ^(0|1|2|3|4|4-python|4-slot-abi|5|5-hdepend|5-progress)$ ]] } +___eapi_has_einstalldocs() { + [[ ! ${1-${EAPI}} =~ ^(0|1|2|3|4|4-python|4-slot-abi|5|5-hdepend|5-progress)$ ]] +} + ___eapi_has_master_repositories() { [[ ${1-${EAPI}} =~ ^(5-progress)$ ]] } |