summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-01-25 08:21:28 +0100
committerJustin Lecher <jlec@gentoo.org>2016-01-25 08:21:28 +0100
commit43dd38f715a91ea28aa4341cc0144c13850443d2 (patch)
treee0fcb6df090fd4b756214bc58292d07c20b00eea /eclass/readme.gentoo.eclass
parentFix missing DIST entry in Manifest, and update copyright year (as trivial cha... (diff)
downloadgentoo-43dd38f715a91ea28aa4341cc0144c13850443d2.tar.gz
gentoo-43dd38f715a91ea28aa4341cc0144c13850443d2.tar.bz2
gentoo-43dd38f715a91ea28aa4341cc0144c13850443d2.zip
readme.gentoo.eclass: QA warn for deprecation of readme.gentoo.eclass
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'eclass/readme.gentoo.eclass')
-rw-r--r--eclass/readme.gentoo.eclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/readme.gentoo.eclass b/eclass/readme.gentoo.eclass
index 0ab9e8957a1..4c921fc6a3e 100644
--- a/eclass/readme.gentoo.eclass
+++ b/eclass/readme.gentoo.eclass
@@ -106,6 +106,9 @@ readme.gentoo_create_doc() {
readme.gentoo_print_elog() {
debug-print-function ${FUNCNAME} "${@}"
+ eqawarn "${CATEGORY}/${PN} is using the deprecated readme.gentoo.eclass."
+ eqawarn "Please use readme.gentoo-r1 instead."
+
if [[ -z "${README_GENTOO_DOC_VALUE}" ]]; then
die "readme.gentoo_print_elog invoked without matching readme.gentoo_create_doc call!"
elif ! [[ -n "${REPLACING_VERSIONS}" ]] || [[ -n "${FORCE_PRINT_ELOG}" ]]; then