diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /metadata/install-qa-check.d/60gtk-doc-paths | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'metadata/install-qa-check.d/60gtk-doc-paths')
-rw-r--r-- | metadata/install-qa-check.d/60gtk-doc-paths | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/metadata/install-qa-check.d/60gtk-doc-paths b/metadata/install-qa-check.d/60gtk-doc-paths index 8c12c2604337..9f927cce8406 100644 --- a/metadata/install-qa-check.d/60gtk-doc-paths +++ b/metadata/install-qa-check.d/60gtk-doc-paths @@ -1,16 +1,16 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # QA check: ensure that gtk-doc files are installed in /usr/share/gtk-doc # Maintainer: GNOME team <gnome@gentoo.org> gtk_doc_path_check() { - [[ -d ${ED}usr/share/doc ]] || return + [[ -d ${ED%/}/usr/share/doc ]] || return local found=() f while read -d '' -r f; do found+=( "${f%/*}" ) - done < <(find "${ED}"usr/share/doc -name '*.devhelp*' -print0 || die) + done < <(find "${ED%/}"/usr/share/doc -name '*.devhelp*' -print0 || die) if [[ ${found[@]} ]]; then eqawarn @@ -19,9 +19,9 @@ gtk_doc_path_check() { eqawarn eqatag -v gtk-doc-paths.invalid-path "${found[@]#${D%/}}" eqawarn - eqawarn "gtk-doc documentation must always be installed into /usr/share/gtk-doc." + eqawarn "gtk-doc documentation must always be installed into ${EPREFIX}/usr/share/gtk-doc." eqawarn "For more details, please see the GNOME team policy page:" - eqawarn "https://wiki.gentoo.org/wiki/Project:GNOME/Gnome_Team_Ebuild_Policies#gtk-doc" + eqawarn "https://wiki.gentoo.org/wiki/Project:GNOME/Gnome_Team_Ebuild_Policies#Handling_gtk-doc_documentation" eqawarn fi } |