From patchwork Sun Sep 14 11:07:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 389044 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 150FB14016A for ; Sun, 14 Sep 2014 21:08:42 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 663829207E; Sun, 14 Sep 2014 11:08:41 +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 x0kdUGZLUcko; Sun, 14 Sep 2014 11:08:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 3AC73921F2; Sun, 14 Sep 2014 11:08:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 1597B1C0F18 for ; Sun, 14 Sep 2014 11:08:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1215CA17F2 for ; Sun, 14 Sep 2014 11:08:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KRBC82FUwZ_T for ; Sun, 14 Sep 2014 11:08:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f174.google.com (mail-we0-f174.google.com [74.125.82.174]) by fraxinus.osuosl.org (Postfix) with ESMTPS id C48AFA17EC for ; Sun, 14 Sep 2014 11:08:11 +0000 (UTC) Received: by mail-we0-f174.google.com with SMTP id t60so2713796wes.19 for ; Sun, 14 Sep 2014 04:08:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=lZtxpkosK0/U9e5DSrJCWuHd1lKYt2NKUjmVfLywneQ=; b=K6DZX3tbi1XqizUqdcFbgmxh3Qjt7SR4vMzTWXelqzrdvc1C3NXOl9xyKJmfFIlm7F 2N9pjEeFIq9Tvt8+fHUR5/iHqkVy0PvlUW4MiTSn3S+0TMlov5xxq09XLcUAoiCon1Ll 3ews82BzHLJHdWSxS9oo8rTltEFRC1CQQX6xnxvOy8DMn2lbYVwFNHUOlELkeoz6rQZP umFwOl7/MQHDzxJp+ql2t9t6xrNMD41gyzjwni3Js8QX+Ystkxm0qzkbQiNK2svZIQV1 84Srp0lxkcNO5fqI0GnzXPSyeJqA9WKGd44dlv3Q+e5X2mMjJ+RyNP4KtbEfimrj29Hu I3ng== X-Received: by 10.180.86.195 with SMTP id r3mr16131964wiz.8.1410692890362; Sun, 14 Sep 2014 04:08:10 -0700 (PDT) Received: from gourin.bzh.lan (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPSA id w10sm10800882wje.10.2014.09.14.04.08.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 14 Sep 2014 04:08:09 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sun, 14 Sep 2014 13:07:43 +0200 Message-Id: <5f7a6dc13281f3ddc0803f443331406f78c61272.1410692670.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 09/23 v5] docs/manual: move manual-prepare-sources rule into GENDOC 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 Copying the document's source files is a generic GENDOC action, that will be common to all documents, so the dependency rule should be handled in GENDOC, rather than letting all documents duplicate it. Signed-off-by: "Yann E. MORIN" Cc: Samuel Martin Cc: Thomas De Schampheleire Acked-by: Thomas De Schampheleire Reviewed-by: Samuel Martin --- docs/manual/manual.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/manual/manual.mk b/docs/manual/manual.mk index 08addd1..0ae2d83 100644 --- a/docs/manual/manual.mk +++ b/docs/manual/manual.mk @@ -7,7 +7,7 @@ manual-update-lists: manual-check-dependencies-lists $(BUILD_DIR)/$(pkgname) BR2_EXTERNAL=$(TOPDIR)/support/dummy-external \ python -B $(TOPDIR)/support/scripts/gen-manual-lists.py -manual-prepare-sources: manual-rsync manual-update-lists +manual-prepare-sources: manual-update-lists # we can't use suitable-host-package here because that's not available in # the context of 'make release' @@ -127,6 +127,8 @@ $(pkgname)-rsync: $$(BUILD_DIR)/$(pkgname) $$(Q)$$(call MESSAGE,"Preparing the $(pkgname) sources...") $$(Q)rsync -a docs/$(pkgname)/ $$^ +$(pkgname)-prepare-sources: $(pkgname)-rsync + $(call GENDOC_INNER,$(pkgname),xhtml,html,html,HTML,\ --xsltproc-opts "--stringparam toc.section.depth 1") $(call GENDOC_INNER,$(pkgname),chunked,split-html,chunked,split HTML,\