From: Ulrich Mueller <ulm@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] [PATCH 2/2] elisp.eclass: Cooperate with readme.gentoo.eclass.
Date: Fri, 8 Mar 2013 20:58:32 +0100 [thread overview]
Message-ID: <20794.17128.748741.70886@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <20794.16989.965476.563290@a1i15.kph.uni-mainz.de>
* elisp.eclass (elisp_src_install, elisp_pkg_postinst):
Call readme.gentoo_create_doc and readme.gentoo_print_elog
from readme.gentoo.eclass if these functions exist.
--- a/eclass/elisp.eclass
+++ b/eclass/elisp.eclass
@@ -177,6 +177,9 @@ elisp_src_install() {
if [[ -n ${DOCS} ]]; then
dodoc ${DOCS} || die
fi
+ if declare -f readme.gentoo_create_doc >/dev/null; then
+ readme.gentoo_create_doc
+ fi
}
# @FUNCTION: elisp_pkg_postinst
@@ -186,6 +189,9 @@ elisp_src_install() {
elisp_pkg_postinst() {
elisp-site-regen
+ if declare -f readme.gentoo_print_elog >/dev/null; then
+ readme.gentoo_print_elog
+ fi
}
# @FUNCTION: elisp_pkg_postrm
next prev parent reply other threads:[~2013-03-08 19:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-08 19:56 [gentoo-dev] Two updates for elisp*.eclass Ulrich Mueller
2013-03-08 19:57 ` [gentoo-dev] [PATCH 1/2] elisp-common.eclass: Some functions now die on failure Ulrich Mueller
2013-03-08 19:58 ` Ulrich Mueller [this message]
2013-03-08 20:02 ` [gentoo-dev] Two updates for elisp*.eclass Michał Górny
2013-03-08 20:31 ` Ulrich Mueller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20794.17128.748741.70886@a1i15.kph.uni-mainz.de \
--to=ulm@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox