From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB50A1395E4 for ; Wed, 7 Dec 2016 19:46:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E5F221C153; Wed, 7 Dec 2016 19:46:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5CF2621C153 for ; Wed, 7 Dec 2016 19:46:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5B3153415D4 for ; Wed, 7 Dec 2016 19:46:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00A9924B0 for ; Wed, 7 Dec 2016 19:46:36 +0000 (UTC) From: "Göktürk Yüksek" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Göktürk Yüksek" Message-ID: <1481138658.77bb2f7e1ca5d6066546cadee32f7c47712f888a.gokturk@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/src_install/ X-VCS-Repository: proj/devmanual X-VCS-Files: ebuild-writing/functions/src_install/text.xml X-VCS-Directories: ebuild-writing/functions/src_install/ X-VCS-Committer: gokturk X-VCS-Committer-Name: Göktürk Yüksek X-VCS-Revision: 77bb2f7e1ca5d6066546cadee32f7c47712f888a X-VCS-Branch: master Date: Wed, 7 Dec 2016 19:46:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cdab41aa-a9fc-44a3-bc36-39fc12b3ab7c X-Archives-Hash: 62e345a3e0fc7dbef5224552258b76b7 commit: 77bb2f7e1ca5d6066546cadee32f7c47712f888a Author: Wim Muskee gmail com> AuthorDate: Wed Dec 7 18:53:01 2016 +0000 Commit: Göktürk Yüksek gentoo org> CommitDate: Wed Dec 7 19:24:18 2016 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=77bb2f7e ebuild-writing/functions/src_install: document the behavior for EAPI 6 ebuild-writing/functions/src_install/text.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ebuild-writing/functions/src_install/text.xml b/ebuild-writing/functions/src_install/text.xml index 530baf1..a1746d9 100644 --- a/ebuild-writing/functions/src_install/text.xml +++ b/ebuild-writing/functions/src_install/text.xml @@ -63,6 +63,17 @@ src_install() { fi } +

+For EAPIs 6 and later, the default src_install function is the following: +

+ +src_install() { + if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]] ; then + emake DESTDIR="${D}" install + fi + einstalldocs +} + The following examples assume EAPI 4 or later