summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2013-03-04 16:07:40 +0100
committerUlrich Müller <ulm@gentoo.org>2013-03-04 16:07:40 +0100
commit82f5ef51f0635e64a9bbe76500a575ad00127cf7 (patch)
tree158d2b9cf26db8d7c97b51fe73100739f55af6c4 /eclass
parentelisp-common.eclass: Some functions now die on failure. (diff)
downloademacs-82f5ef51f0635e64a9bbe76500a575ad00127cf7.tar.gz
emacs-82f5ef51f0635e64a9bbe76500a575ad00127cf7.tar.bz2
emacs-82f5ef51f0635e64a9bbe76500a575ad00127cf7.zip
elisp.eclass: Cooperate with readme.gentoo.eclass.
* 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.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/elisp.eclass6
2 files changed, 12 insertions, 0 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 66d6064..f0ddafe 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,3 +1,9 @@
+2013-03-04 Ulrich Müller <ulm@gentoo.org>
+
+ * 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.
+
2013-02-26 Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass (elisp-compile, elisp-make-autoload-file)
diff --git a/eclass/elisp.eclass b/eclass/elisp.eclass
index 3cf1d5f..2919f26 100644
--- 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