From patchwork Thu Jul 5 22:06:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnout Vandecappelle X-Patchwork-Id: 169282 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 755872C0079 for ; Fri, 6 Jul 2012 08:07:41 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 10F7CA00F5; Thu, 5 Jul 2012 22:07:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HT4bLzdvuyhQ; Thu, 5 Jul 2012 22:07:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 6EAC9A00D9; Thu, 5 Jul 2012 22:07:36 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 23ACF8F753 for ; Thu, 5 Jul 2012 22:07:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F21B18B3E8 for ; Thu, 5 Jul 2012 22:07:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sBCHNGFz8rEr for ; Thu, 5 Jul 2012 22:07:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from viper.mind.be (132.79-246-81.adsl-static.isp.belgacom.be [81.246.79.132]) by whitealder.osuosl.org (Postfix) with ESMTPS id A244D8B599 for ; Thu, 5 Jul 2012 22:07:30 +0000 (UTC) Received: from [172.16.2.6] (helo=vandecaa-laptop) by viper.mind.be with esmtp (Exim 4.69) (envelope-from ) id 1SmuCn-0006nv-0d; Fri, 06 Jul 2012 00:07:28 +0200 Received: from arnout by vandecaa-laptop with local (Exim 4.80) (envelope-from ) id 1SmuCm-0008Hj-CY; Fri, 06 Jul 2012 00:07:20 +0200 From: "Arnout Vandecappelle (Essensium/Mind)" To: buildroot@busybox.net Date: Fri, 6 Jul 2012 00:06:46 +0200 Message-Id: <1341526006-31673-1-git-send-email-arnout@mind.be> X-Mailer: git-send-email 1.7.10 In-Reply-To: <20120703093348.6c078602@skate> References: <20120703093348.6c078602@skate> Subject: [Buildroot] [PATCH v3 5/5] Clean up naming of old GENTARGETS infrastructure X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net With the renaming of XXXTARGETS to xxx-package, the names of the pkg-xxx.mk files is inconsistent, as well as some internal names in the documentation. These inconsistencies are cleaned up here. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ...kages-autotargets.txt => adding-packages-autotools.txt} | 4 ++-- ...packages-cmaketargets.txt => adding-packages-cmake.txt} | 4 ++-- docs/manual/adding-packages-directory.txt | 12 ++++++------ ...packages-gentargets.txt => adding-packages-generic.txt} | 4 ++-- docs/manual/adding-packages.txt | 6 +++--- package/Makefile.in | 6 +++--- package/{pkg-autotargets.mk => pkg-autotools.mk} | 0 package/{pkg-cmaketargets.mk => pkg-cmake.mk} | 0 package/{pkg-gentargets.mk => pkg-generic.mk} | 0 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/package/pkg-autotargets.mk b/package/pkg-autotools.mk similarity index 100% rename from package/pkg-autotargets.mk rename to package/pkg-autotools.mk diff --git a/package/pkg-cmaketargets.mk b/package/pkg-cmake.mk similarity index 100% rename from package/pkg-cmaketargets.mk rename to package/pkg-cmake.mk diff --git a/package/pkg-gentargets.mk b/package/pkg-generic.mk similarity index 100% rename from package/pkg-gentargets.mk rename to package/pkg-generic.mk diff --git a/docs/manual/adding-packages-autotargets.txt b/docs/manual/adding-packages-autotools.txt similarity index 99% rename from docs/manual/adding-packages-autotargets.txt rename to docs/manual/adding-packages-autotools.txt index f67cd06..a9653ce 100644 --- a/docs/manual/adding-packages-autotargets.txt +++ b/docs/manual/adding-packages-autotools.txt @@ -1,7 +1,7 @@ Infrastructure for autotools-based packages ------------------------------------------- -[[autotargets-tutorial]] +[[autotools-package-tutorial]] +autotools-package+ tutorial ~~~~~~~~~~~~~~~~~~~~~~ @@ -61,7 +61,7 @@ Finally, on line line 14, we invoke the +autotools-package+ macro that generates all the Makefile rules that actually allows the package to be built. -[[autotargets-reference]] +[[autotools-package-reference]] +autotools-package+ reference ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/manual/adding-packages-cmaketargets.txt b/docs/manual/adding-packages-cmake.txt similarity index 99% rename from docs/manual/adding-packages-cmaketargets.txt rename to docs/manual/adding-packages-cmake.txt index 69acb00..d1489bd 100644 --- a/docs/manual/adding-packages-cmaketargets.txt +++ b/docs/manual/adding-packages-cmake.txt @@ -1,7 +1,7 @@ Infrastructure for CMake-based packages --------------------------------------- -[[cmaketargets-tutorial]] +[[cmake-package-tutorial]] +cmake-package+ tutorial ~~~~~~~~~~~~~~~~~~~~~~~ @@ -60,7 +60,7 @@ Finally, on line line 14, we invoke the +cmake-package+ macro that generates all the Makefile rules that actually allows the package to be built. -[[cmaketargets-reference]] +[[cmake-package-reference]] +cmake-package+ reference ~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/manual/adding-packages-directory.txt b/docs/manual/adding-packages-directory.txt index 2670f2f..4a96415 100644 --- a/docs/manual/adding-packages-directory.txt +++ b/docs/manual/adding-packages-directory.txt @@ -163,22 +163,22 @@ different way, using different infrastructures: infrastructure must be used for all packages that do not use the autotools as their build system. In the future, other specialized infrastructures might be written for other build systems. We cover - them through in a xref:gentargets-tutorial[tutorial] and a - xref:gentargets-reference[reference]. + them through in a xref:generic-package-tutorial[tutorial] and a + xref:generic-package-reference[reference]. * *Makefiles for autotools-based software* (autoconf, automake, etc.): We provide a dedicated infrastructure for such packages, since autotools is a very common build system. This infrastructure 'must' be used for new packages that rely on the autotools as their build - system. We cover them through a xref:autotargets-tutorial[tutorial] - and xref:autotargets-reference[reference]. + system. We cover them through a xref:autotools-package-tutorial[tutorial] + and xref:autotools-package-reference[reference]. * *Makefiles for cmake-based software*: We provide a dedicated infrastructure for such packages, as CMake is a more and more commonly used build system and has a standardized behaviour. This infrastructure 'must' be used for new packages that rely on - CMake. We cover them through a xref:cmaketargets-tutorial[tutorial] - and xref:cmaketargets-reference[reference]. + CMake. We cover them through a xref:cmake-package-tutorial[tutorial] + and xref:cmake-package-reference[reference]. * *Hand-written Makefiles:* These are currently obsolete, and no new manual Makefiles should be added. However, since there are still diff --git a/docs/manual/adding-packages-gentargets.txt b/docs/manual/adding-packages-generic.txt similarity index 99% rename from docs/manual/adding-packages-gentargets.txt rename to docs/manual/adding-packages-generic.txt index dea3707..4348bb9 100644 --- a/docs/manual/adding-packages-gentargets.txt +++ b/docs/manual/adding-packages-generic.txt @@ -6,7 +6,7 @@ whose build system is not one of the standard ones, such as 'autotools' or 'CMake'. This typically includes packages whose build system is based on hand-written Makefiles or shell scripts. -[[gentargets-tutorial]] +[[generic-package-tutorial]] +generic-package+ Tutorial ~~~~~~~~~~~~~~~~~~~~~ @@ -87,7 +87,7 @@ Finally, on line 35, we call the +generic-package+ which generates, according to the variables defined previously, all the Makefile code necessary to make your package working. -[[gentargets-reference]] +[[generic-package-reference]] +generic-package+ Reference ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/manual/adding-packages.txt b/docs/manual/adding-packages.txt index 0217e9f..acbde0c 100644 --- a/docs/manual/adding-packages.txt +++ b/docs/manual/adding-packages.txt @@ -8,11 +8,11 @@ tuning their configuration. include::adding-packages-directory.txt[] -include::adding-packages-gentargets.txt[] +include::adding-packages-generic.txt[] -include::adding-packages-autotargets.txt[] +include::adding-packages-autotools.txt[] -include::adding-packages-cmaketargets.txt[] +include::adding-packages-cmake.txt[] include::adding-packages-handwritten.txt[] diff --git a/package/Makefile.in b/package/Makefile.in index c5ad00a..7996418 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -312,6 +312,6 @@ endif include package/pkg-utils.mk include package/pkg-download.mk -include package/pkg-autotargets.mk -include package/pkg-cmaketargets.mk -include package/pkg-gentargets.mk +include package/pkg-autotools.mk +include package/pkg-cmake.mk +include package/pkg-generic.mk