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 864001381F3 for ; Sat, 7 Sep 2013 18:46:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1DAE9E0AE3; Sat, 7 Sep 2013 18:46:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AD858E0AE3 for ; Sat, 7 Sep 2013 18:46:47 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AC89E33DA53 for ; Sat, 7 Sep 2013 18:46:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 28F73E468F for ; Sat, 7 Sep 2013 18:46:45 +0000 (UTC) From: "Markos Chandras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Markos Chandras" Message-ID: <1378579489.895593c4554a031780320990e5cb3b72cea5a346.hwoarang@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: general-concepts/autotools/ X-VCS-Repository: proj/devmanual X-VCS-Files: general-concepts/autotools/text.xml X-VCS-Directories: general-concepts/autotools/ X-VCS-Committer: hwoarang X-VCS-Committer-Name: Markos Chandras X-VCS-Revision: 895593c4554a031780320990e5cb3b72cea5a346 X-VCS-Branch: master Date: Sat, 7 Sep 2013 18:46:45 +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: d5eb7929-b282-47bc-af84-f336cc03f0b7 X-Archives-Hash: fad055afb99e7d6b6b8d6d3bb350fd26 commit: 895593c4554a031780320990e5cb3b72cea5a346 Author: Michael Orlitzky orlitzky com> AuthorDate: Sat Sep 7 18:44:49 2013 +0000 Commit: Markos Chandras gentoo org> CommitDate: Sat Sep 7 18:44:49 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/devmanual.git;a=commit;h=895593c4 Update an old suggestion in the Autotools Basics guide. Fixes bug #484104. --- general-concepts/autotools/text.xml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/general-concepts/autotools/text.xml b/general-concepts/autotools/text.xml index 181940c..6fb7bd8 100644 --- a/general-concepts/autotools/text.xml +++ b/general-concepts/autotools/text.xml @@ -76,10 +76,20 @@ and have the same format the only difference is the name.

-You will see autotools being used variously in both src_unpack and -src_compile. The QA people prefer it in src_unpack the rationale is -that src_unpack handles "getting the package ready to be compiled" but -there is no official policy which mandates this. + You may see autotools being used in a variety of phase + functions. Prior to EAPI2, the QA team preferred that the source + code be manipulated in src_unpackthe rationale being that + src_unpack handles "getting the package ready to be + compiled." +

+ +

+ EAPI2, however, introduced a new phase function: . This is now the + appropriate place to manipulate the source code prior to + configuration and compilation. In particular, src_prepare is + called before , which usually expects the configure script to exist.