From patchwork Thu Jan 7 20:44:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 59303 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp151982lbb; Thu, 7 Jan 2016 12:45:13 -0800 (PST) X-Received: by 10.140.18.167 with SMTP id 36mr92598543qgf.38.1452199513099; Thu, 07 Jan 2016 12:45:13 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id e132si52340066qhe.68.2016.01.07.12.45.12; Thu, 07 Jan 2016 12:45:13 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id A53E56194D; Thu, 7 Jan 2016 20:45:12 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=fail reason="verification failed; unprotected key" header.d=linaro.org header.i=@linaro.org header.b=ALZnf3rB; dkim-adsp=none (unprotected policy); dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,T_DKIM_INVALID,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 0E905617B5; Thu, 7 Jan 2016 20:45:09 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 1CD37617C5; Thu, 7 Jan 2016 20:45:06 +0000 (UTC) Received: from mail-qg0-f50.google.com (mail-qg0-f50.google.com [209.85.192.50]) by lists.linaro.org (Postfix) with ESMTPS id 44B146179C for ; Thu, 7 Jan 2016 20:45:05 +0000 (UTC) Received: by mail-qg0-f50.google.com with SMTP id o11so337438065qge.2 for ; Thu, 07 Jan 2016 12:45:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=GfnbgIIAi9LCmzbh3nWM0fcNrcEP2nX2StOUtRkM2N0=; b=ALZnf3rBPFbhx8Dq+RFZxMqECB09fGkWcPDumfdUtEnV0NrrgPd1Ob++eri7+E29eF 2p0RVAxNMxe4n9EsTM3fwebVGc9ce3gWH1IWFh7tfg0JbRGhTxaKhjRH7CKjGSskx5eq DzUPUrKtdGwWn6PF4Tmf9NlJMxMm1NXuaVSaw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=GfnbgIIAi9LCmzbh3nWM0fcNrcEP2nX2StOUtRkM2N0=; b=RclJXNncviSFrdRGDhc8Vdy0oln+o1ZOKIYL4Z7rJWrwaOvh9DvaA5c591QeXxRf+v Ox3XyEkZQAuFHjCETbz9jdkMcRHyCRuKTyPQDeUERgmahVgXDdF4mSHKyj/JE16HE+c3 TPxTRoXr/cs4jjVAaZu3ya7Kkv3ygEAF7eom3HCDwy+HFlyHyLAAuMihmjYCnJCt1mXX R219GNAzKblYRkX3jl5g+m0b18BiM9UxHBYmAph/Nfc9pUB3/Bm/WT7V1qK8j+KFNFm2 bzSjifSg8jiRvb6Dnm2ICAqUqqvlBim6v/aeh+ywLjjMXMsZfcSc60Wnr7ZWR6Lf7GMT 8Lig== X-Gm-Message-State: ALoCoQlSdltT+fDWtONK1E4DiG8GDa8midqhYvpCJsgWChGoUOh8+MRSHX4OJzYGMyKdGaE4cISATfzYdH9z3EAP0dcM13RmNw== X-Received: by 10.140.38.47 with SMTP id s44mr12391450qgs.22.1452199505057; Thu, 07 Jan 2016 12:45:05 -0800 (PST) Received: from localhost.localdomain (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by smtp.gmail.com with ESMTPSA id f32sm46999779qga.1.2016.01.07.12.45.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jan 2016 12:45:04 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Thu, 7 Jan 2016 15:44:59 -0500 Message-Id: <1452199499-31065-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.5.0 X-Topics: patch Subject: [lng-odp] [PATCH] doc: factor out asciidoc build rule X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Signed-off-by: Mike Holmes Reviewed-by: Bill Fischofer --- doc/Makefile.inc | 4 ++++ doc/implementers-guide/Makefile.am | 8 +++----- doc/process-guide/Makefile.am | 8 +++----- doc/users-guide/Makefile.am | 8 +++----- 4 files changed, 13 insertions(+), 15 deletions(-) create mode 100644 doc/Makefile.inc diff --git a/doc/Makefile.inc b/doc/Makefile.inc new file mode 100644 index 0000000..8491b92 --- /dev/null +++ b/doc/Makefile.inc @@ -0,0 +1,4 @@ +.adoc.html: + @mkdir -p $(top_srcdir)/doc/output + asciidoc -a data-uri -b html5 -a icons -a toc2 -a max-width=55em --out-file=$@ $< + mv $@ $(top_srcdir)/doc/output/$@ diff --git a/doc/implementers-guide/Makefile.am b/doc/implementers-guide/Makefile.am index f0832f1..eb614e1 100644 --- a/doc/implementers-guide/Makefile.am +++ b/doc/implementers-guide/Makefile.am @@ -1,12 +1,10 @@ -TARGET = $(top_srcdir)/doc/output/implementers-guide.html +include ../Makefile.inc + +TARGET = implementers-guide.html EXTRA_DIST = implementers-guide.adoc all-local: $(TARGET) -$(TARGET): implementers-guide.adoc - @mkdir -p $(top_srcdir)/doc/output - asciidoc -a data-uri -b html5 -a icons -a toc2 -a max-width=55em --out-file=$@ $< - clean-local: rm -f $(TARGET) diff --git a/doc/process-guide/Makefile.am b/doc/process-guide/Makefile.am index 54e2c1d..95915c0 100644 --- a/doc/process-guide/Makefile.am +++ b/doc/process-guide/Makefile.am @@ -1,12 +1,10 @@ -TARGET = $(top_srcdir)/doc/output/release-guide.html +include ../Makefile.inc + +TARGET = release-guide.html EXTRA_DIST = release-guide.adoc all-local: $(TARGET) -$(TARGET): release-guide.adoc - @mkdir -p $(top_srcdir)/doc/output - asciidoc -b html5 -a icons -a toc2 -a max-width=55em --out-file=$@ $< - clean-local: rm -f $(TARGET) diff --git a/doc/users-guide/Makefile.am b/doc/users-guide/Makefile.am index 383894a..960a90f 100644 --- a/doc/users-guide/Makefile.am +++ b/doc/users-guide/Makefile.am @@ -1,12 +1,10 @@ -TARGET = $(top_srcdir)/doc/output/users-guide.html +include ../Makefile.inc + +TARGET = users-guide.html EXTRA_DIST = users-guide.adoc all-local: $(TARGET) -$(TARGET): users-guide.adoc - @mkdir -p $(top_srcdir)/doc/output - asciidoc -a data-uri -b html5 -a icons -a toc2 -a max-width=55em --out-file=$@ $< - clean-local: rm -f $(TARGET)