From patchwork Sun Mar 24 22:50:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 230516 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 288752C009A for ; Mon, 25 Mar 2013 09:52:18 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 33C5FA019D; Sun, 24 Mar 2013 22:52:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GJaaBDaHXogS; Sun, 24 Mar 2013 22:52:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 9296DA0294; Sun, 24 Mar 2013 22:51:23 +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 9752A8F753 for ; Sun, 24 Mar 2013 22:51:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2E5878D01E for ; Sun, 24 Mar 2013 22:51:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lc1bY+SUEvcj for ; Sun, 24 Mar 2013 22:51:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by whitealder.osuosl.org (Postfix) with ESMTPS id CEAEA8D05C for ; Sun, 24 Mar 2013 22:51:09 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id hm14so9519016wib.9 for ; Sun, 24 Mar 2013 15:51:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references; bh=NHNKOJwzHaQrtu8JRa7nWc31x0IXQOLRRWS+ntkW1Ds=; b=TemWLKlXBxRDJDPxWA46nsonmvz1X15ogpHK4U8/2aHfv8VhvjOldulpghImECyxbN s8CnrbBK9z6y8p36j2IvTpSHzYafksXaUtyMschsZFkW1ez3zz99RV0C7/mM+M8UVVRE 8Y4blPU2aledDl82Rg7etS+yuKQm8aWG36gsRfOKMi9Hu+sI5QQIIAKE9crYv2kRFsmQ A92CFExNiVlv/ul5eBQopJzlWWMFkxiRe+UllC53r6rY0VUXzGiOwBvhw1MV6o1fauoG d38lqDGo97guktG+araCDfO8LTrA6jS43IqoTO3ttSSj40Lf5EbjvubiNBmBJ++fjwiL o+gg== X-Received: by 10.194.87.229 with SMTP id bb5mr14220321wjb.32.1364165468082; Sun, 24 Mar 2013 15:51:08 -0700 (PDT) Received: from localhost.localdomain (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPS id er1sm16514587wib.5.2013.03.24.15.51.06 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 24 Mar 2013 15:51:07 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 24 Mar 2013 23:50:41 +0100 Message-Id: <6aacb071d888e9f5768a0a1ec6b62476dc7e1d13.1364165310.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 06/14] manual: add a make target 'manual-update-lists' 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 From: Samuel Martin The generated lists are automatically updated when building the manual. Signed-off-by: Samuel Martin [yann.morin.1998@free.fr: fix indentation] Signed-off-by: "Yann E. MORIN" --- docs/manual/manual.mk | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/manual/manual.mk b/docs/manual/manual.mk index aa20534..52a7de0 100644 --- a/docs/manual/manual.mk +++ b/docs/manual/manual.mk @@ -1,3 +1,8 @@ +manual-update-lists: + @$(call MESSAGE,"Updating the manual lists...") + $(Q)BR2_DEFCONFIG="" TOPDIR=$(TOPDIR) \ + $(TOPDIR)/support/scripts/gen-manual-lists.py + ################################################################################ # GENDOC -- generates the make targets needed to build a specific type of # asciidoc documentation. @@ -17,7 +22,8 @@ $(1): $(1)-$(3) .PHONY: $(1)-$(3) $(1)-$(3): $$(O)/docs/$(1)/$(1).$(4) -$$(O)/docs/$(1)/$(1).$(4): docs/$(1)/$(1).txt $$($(call UPPERCASE,$(1))_SOURCES) +$$(O)/docs/$(1)/$(1).$(4): docs/$(1)/$(1).txt $$($(call UPPERCASE,$(1))_SOURCES) \ + manual-update-lists @$(call MESSAGE,"Generating $(5) $(1)...") $(Q)mkdir -p $$(@D) $(Q)a2x $(6) -f $(2) -d book -L -r $(TOPDIR)/docs/images \ @@ -41,7 +47,7 @@ $(call GENDOC_INNER,$(1),epub,epub,epub,EPUB) clean: $(1)-clean $(1)-clean: $(Q)$(RM) -rf $(O)/docs/$(1) -.PHONY: $(1) $(1)-clean +.PHONY: $(1) $(1)-clean manual-update-lists endef MANUAL_SOURCES = $(wildcard docs/manual/*.txt) $(wildcard docs/images/*)