From patchwork Wed Nov 28 21:40:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 202553 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 9BD0D2C0079 for ; Thu, 29 Nov 2012 08:40:55 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 95A323106D; Wed, 28 Nov 2012 21:40:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zn6fcsOJ2Q1w; Wed, 28 Nov 2012 21:40:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7559331096; Wed, 28 Nov 2012 21:40:52 +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 1130D8F74A for ; Wed, 28 Nov 2012 21:40:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D2B1B8A024 for ; Wed, 28 Nov 2012 21:40:45 +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 dRS0tcFqZi9G for ; Wed, 28 Nov 2012 21:40:45 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id CB7A089FF5 for ; Wed, 28 Nov 2012 21:40:44 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id hn14so4671932wib.10 for ; Wed, 28 Nov 2012 13:40:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=gUzwmNLb4YXv/34cLAKDfmMIqn+7C00oXPuorKRSRPQ=; b=ls9dz8mucc2Eg8sl00g/ddHu/WRBptsYKCwuhBrDqPt+qSyxUXL9hjksvEc/9OWE4H Ej4cPT9SgN1/k+gmiLN//SXefpfIpfemfrouRZl20gJ94yY/xoyOZGXPyZxOwWj9dhjQ 4z47QOGCV0gtvMhn7+yAv2dYrvcHwHBSMRhGBPj3JAZiXU8Oenslce5gMOxQmAZvz2MZ wncagT6ma9eqw5obzMdVEzWofKduUhLMpoG/xF39te4yo5biLSvk6GNfIb81H65IRB8S Lyhr+RMuainpD7ho/M6UWnQQKmrCBgKF7rp4omOVqqnzuEeAcJf+EUO40qn1J+mOKsf9 eoTA== Received: by 10.216.193.29 with SMTP id j29mr8067914wen.143.1354138843114; Wed, 28 Nov 2012 13:40:43 -0800 (PST) Received: from localhost.localdomain (ivr94-4-82-229-165-48.fbx.proxad.net. [82.229.165.48]) by mx.google.com with ESMTPS id ec3sm8680337wib.10.2012.11.28.13.40.41 (version=SSLv3 cipher=OTHER); Wed, 28 Nov 2012 13:40:42 -0800 (PST) From: Samuel Martin To: buildroot@busybox.net Date: Wed, 28 Nov 2012 22:40:28 +0100 Message-Id: <1354138832-18149-2-git-send-email-s.martin49@gmail.com> X-Mailer: git-send-email 1.8.0.1 In-Reply-To: <1354138832-18149-1-git-send-email-s.martin49@gmail.com> References: <1354138832-18149-1-git-send-email-s.martin49@gmail.com> Subject: [Buildroot] [PATCH 2/6] manual: add package-list.txt generation support 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 Signed-off-by: Samuel Martin Acked-by: Arnout Vandecappelle (Essensium/Mind) --- docs/manual/manual.mk | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/manual/manual.mk b/docs/manual/manual.mk index aa20534..c4a21b2 100644 --- a/docs/manual/manual.mk +++ b/docs/manual/manual.mk @@ -24,6 +24,26 @@ $$(O)/docs/$(1)/$(1).$(4): docs/$(1)/$(1).txt $$($(call UPPERCASE,$(1))_SOURCES) -D $$(@D) $$< endef +$(TOPDIR)/docs/manual/package-list.txt: + @echo -en "\ + //\n\ + // Autogenerated file\n\ + //\n\n\ + [[package-list]]\n\ + Available packages\n\ + ------------------\n\n\ + // docs/manaual/pkg-list.txt is generated using the following command:\n\ + // $ git grep -E '\\((autotools|cmake|generic)-package\\)' package/ | \\\n\ + // cut -d':' -f1 | grep '\\.mk$$' | \\\n\ + // sed -e 's;.*\\?/\\(.*\\?\\).mk;* \\1;' | \\\n\ + // sort > docs/manual/pkg-list.txt\n\n\ + " > $@ + grep -rHE --color=never '\((autotools|cmake|generic)-package\)' \ + $(TOPDIR)/package/ | \ + cut -d':' -f1 | grep '\.mk$$' | \ + sed -e 's;.*\?/\(.*\?\).mk;* \1;' | \ + sort >> $@ + ################################################################################ # GENDOC -- generates the make targets needed to build asciidoc documentation. #