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 17C2D1381F3 for ; Sat, 7 Sep 2013 19:14:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8998E07F4; Sat, 7 Sep 2013 19:14:45 +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 3002CE07F4 for ; Sat, 7 Sep 2013 19:14:45 +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 4437933EAFF for ; Sat, 7 Sep 2013 19:14:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id ED787E468F for ; Sat, 7 Sep 2013 19:14:42 +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: <1378581128.6caf536344d33440901d7238fb2ee14bc856d2b4.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: 6caf536344d33440901d7238fb2ee14bc856d2b4 X-VCS-Branch: master Date: Sat, 7 Sep 2013 19:14:42 +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: 3a1ae67f-790d-477a-a82f-31bec3803d48 X-Archives-Hash: 7cd1e4affa2cd8f2acd69fd12b784a56 commit: 6caf536344d33440901d7238fb2ee14bc856d2b4 Author: Michael Orlitzky orlitzky com> AuthorDate: Sat Sep 7 18:44:49 2013 +0000 Commit: Markos Chandras gentoo org> CommitDate: Sat Sep 7 19:12:08 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/devmanual.git;a=commit;h=6caf5363 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.