From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7604F198002 for ; Fri, 8 Mar 2013 19:58:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 90F9821C001; Fri, 8 Mar 2013 19:58:35 +0000 (UTC) Received: from a1www.kph.uni-mainz.de (a1iwww1.kph.uni-mainz.de [134.93.134.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 83E0AE074E for ; Fri, 8 Mar 2013 19:58:34 +0000 (UTC) Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1www.kph.uni-mainz.de (8.14.4/8.13.4) with ESMTP id r28JwXtQ028849 for ; Fri, 8 Mar 2013 20:58:33 +0100 Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.5/8.14.2) with ESMTP id r28JwWcA029770; Fri, 8 Mar 2013 20:58:32 +0100 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.6/8.14.6/Submit) id r28JwWZs029768; Fri, 8 Mar 2013 20:58:32 +0100 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20794.17128.748741.70886@a1i15.kph.uni-mainz.de> Date: Fri, 8 Mar 2013 20:58:32 +0100 To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] [PATCH 2/2] elisp.eclass: Cooperate with readme.gentoo.eclass. In-Reply-To: <20794.16989.965476.563290@a1i15.kph.uni-mainz.de> References: <20794.16989.965476.563290@a1i15.kph.uni-mainz.de> X-Mailer: VM 8.2.0b under 23.4.1 (x86_64-pc-linux-gnu) From: Ulrich Mueller X-Archives-Salt: 3b6a19f7-27d9-4d91-bbfe-64e28587e36e X-Archives-Hash: e49d9d5242f95985899a5d2bbf3b71a3 * 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