From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-915877-garchives=archives.gentoo.org@lists.gentoo.org>
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 <garchives@archives.gentoo.org>; 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 <gentoo-commits@lists.gentoo.org>; 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 <gentoo-commits@lists.gentoo.org>; 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 <gentoo-commits@lists.gentoo.org>; Wed,  7 Dec 2016 19:46:36 +0000 (UTC)
From: "Göktürk Yüksek" <gokturk@gentoo.org>
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" <gokturk@gentoo.org>
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: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: cdab41aa-a9fc-44a3-bc36-39fc12b3ab7c
X-Archives-Hash: 62e345a3e0fc7dbef5224552258b76b7

commit:     77bb2f7e1ca5d6066546cadee32f7c47712f888a
Author:     Wim Muskee <wimmuskee <AT> gmail <DOT> com>
AuthorDate: Wed Dec  7 18:53:01 2016 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> 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
 }
 </codesample>
+<p>
+For EAPIs 6 and later, the default <c>src_install</c> function is the following:
+</p>
+<codesample lang="ebuild">
+src_install() {
+    if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]] ; then
+        emake DESTDIR="${D}" install
+    fi
+    einstalldocs
+}
+</codesample>
 <important>The following examples assume EAPI 4 or later</important>
 </body>
 </section>