diff options
author | Gregory M. Tuner <gmt@be-evil.net> | 2013-10-14 01:34:29 -0700 |
---|---|---|
committer | Gregory M. Tuner <gmt@be-evil.net> | 2013-10-14 03:44:24 -0700 |
commit | 7ca5f6d1cde944787956ba9ada97503d68be27f7 (patch) | |
tree | 5bc2fba58e12e671d73f44247e0d4c44a1aacc55 /eclass/multilib-minimal.eclass | |
parent | app-emulation/emul-linux-x86-baselibs:wip (diff) | |
download | gmt-7ca5f6d1cde944787956ba9ada97503d68be27f7.tar.gz gmt-7ca5f6d1cde944787956ba9ada97503d68be27f7.tar.bz2 gmt-7ca5f6d1cde944787956ba9ada97503d68be27f7.zip |
eclass/multilib-minimal: Just run base_src_install instead of copy-pasting code
In multilib-minimal, we install DOCS but not HTML_DOCS. Why? Who
knows, and who knows what discrepancies between expected and actual
behaviors might exist in the future?
As an example, dev-libs/gmp was forgetting to install it's html
documentation as a result of this omission.
Instead of trying to duplicate it, why not
simply run the real base_src_install and let it do whatever it's
going to do? This patch effects this change.
Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
Diffstat (limited to 'eclass/multilib-minimal.eclass')
-rw-r--r-- | eclass/multilib-minimal.eclass | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/eclass/multilib-minimal.eclass b/eclass/multilib-minimal.eclass index e3d3b0b..8310184 100644 --- a/eclass/multilib-minimal.eclass +++ b/eclass/multilib-minimal.eclass @@ -94,7 +94,7 @@ if has src_install ${MULTILIB_PARALLEL_PHASES} ; then die "src_install in MULTILIB_PARALLEL_PHASES requries MULTILIB_INSECURE_INSTALL" fi -inherit multilib-build +inherit base multilib-build EXPORT_FUNCTIONS src_configure src_compile src_test src_install @@ -217,16 +217,5 @@ multilib-minimal_src_install() { multilib_src_install_all fi - # this is synced with __eapi4_src_install - if ! declare -p DOCS &>/dev/null ; 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) == "declare -a "* ]] ; then - dodoc "${DOCS[@]}" - else - dodoc ${DOCS} - fi + base_src_install_docs } |