Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 400042 Details for
Bug 544962
autotools-utils.eclass: migrate src_install to einstalldocs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch, not tested
0001-autotools-utils-migrate-to-einstalldocs.patch (text/plain), 1.79 KB, created by
Nikoli
on 2015-03-29 15:07:54 UTC
(
hide
)
Description:
patch, not tested
Filename:
MIME Type:
Creator:
Nikoli
Created:
2015-03-29 15:07:54 UTC
Size:
1.79 KB
patch
obsolete
>From 6e1dbab76349b7b05af48408521e345802326ec0 Mon Sep 17 00:00:00 2001 >From: Nikoli <nikoli@gmx.us> >Date: Sun, 29 Mar 2015 18:04:42 +0300 >Subject: [PATCH] autotools-utils: migrate to einstalldocs > >autotools-multilib, cmake-utils, distutils-r1, gnome2, >multilib-minimal, qt4-r2 and xfconf eclasses are already using it. >--- > eclass/autotools-utils.eclass | 27 ++------------------------- > 1 file changed, 2 insertions(+), 25 deletions(-) > >diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass >index 3c0f9e7..ab20d23 100644 >--- a/eclass/autotools-utils.eclass >+++ b/eclass/autotools-utils.eclass >@@ -403,7 +403,7 @@ autotools-utils_src_compile() { > # and removes unnecessary libtool files when static-libs USE flag is defined > # and unset. > # >-# DOCS and HTML_DOCS arrays are supported. See base.eclass(5) for reference. >+# DOCS and HTML_DOCS arrays are supported. See eutils.eclass(5) for reference. > autotools-utils_src_install() { > debug-print-function ${FUNCNAME} "$@" > >@@ -427,30 +427,7 @@ autotools-utils_src_install() { > fi > fi > >- # XXX: support installing them from builddir as well? >- if declare -p DOCS &>/dev/null; then >- # an empty list == don't install anything >- if [[ ${DOCS[@]} ]]; then >- if [[ ${EAPI} == [23] ]]; then >- dodoc "${DOCS[@]}" || die >- else >- # dies by itself >- dodoc -r "${DOCS[@]}" >- fi >- fi >- else >- local f >- # same list as in PMS >- for f in README* ChangeLog AUTHORS NEWS TODO CHANGES \ >- THANKS BUGS FAQ CREDITS CHANGELOG; do >- if [[ -s ${f} ]]; then >- dodoc "${f}" || die "(default) dodoc ${f} failed" >- fi >- done >- fi >- if [[ ${HTML_DOCS} ]]; then >- dohtml -r "${HTML_DOCS[@]}" || die "dohtml failed" >- fi >+ einstalldocs > > # Remove libtool files and unnecessary static libs > local prune_ltfiles=${AUTOTOOLS_PRUNE_LIBTOOL_FILES} >-- >2.0.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 544962
: 400042