From patchwork Thu Jan 7 19:44:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 59302 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp122723lbb; Thu, 7 Jan 2016 11:44:25 -0800 (PST) X-Received: by 10.55.48.130 with SMTP id w124mr135451507qkw.79.1452195865530; Thu, 07 Jan 2016 11:44:25 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id v28si6955818qkl.123.2016.01.07.11.44.25; Thu, 07 Jan 2016 11:44:25 -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 1B445615FA; Thu, 7 Jan 2016 19:44:25 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=fail reason="verification failed; unprotected key" header.d=linaro.org header.i=@linaro.org header.b=cK0yR4GJ; 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 D636861614; Thu, 7 Jan 2016 19:44:20 +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 95984617FA; Thu, 7 Jan 2016 19:44:16 +0000 (UTC) Received: from mail-qg0-f48.google.com (mail-qg0-f48.google.com [209.85.192.48]) by lists.linaro.org (Postfix) with ESMTPS id A8E0061614 for ; Thu, 7 Jan 2016 19:44:14 +0000 (UTC) Received: by mail-qg0-f48.google.com with SMTP id o11so336053590qge.2 for ; Thu, 07 Jan 2016 11:44:14 -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=DjF/Ysl4iQ4gSJhFCu07xbi6c1v9rME189ZodgaDuT4=; b=cK0yR4GJnd1elWkPsxz4r5WFqQ3h45AcdSjOi1mX/PLUFPxKNbWR3DaD6SfR3RdU5d Z6g/IXER3zuRAlIDWSyqCOImsZwlUQYzzgopHNclkm6fgJSqVOvBDyuYJ9k/q4UYPUK8 iKwimENnlg0/AcOlXSpvRRIynP+RitUQ0+xWY= 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=DjF/Ysl4iQ4gSJhFCu07xbi6c1v9rME189ZodgaDuT4=; b=hdA0T0oG4FJSawwWNIINJrwlZFFmI82KmYfgR3QWdQ8xmV2/sgjYAL2hkpvjHxZneU cxIEJBgGZQYTrKEXjxYMY89TFF/IgDXIemuEIBCW1QtXsqf+zMgbqf+hj8hgkca5REHK bWZvN9Wr5lcrT+mREwwZ3RCuP5QiVjNpbkhKccPYwYIN+pAQK1JRjP1U0O5YAqvcLebF I8TWTtl8tJQ0RqL4Rahuaw1sCb1mCfH1+29g2RrlQSoeHw9n8jJ2CxFprBK87D/9+KkC SSJ+M8dfPZouaYdBb3Ts+V69HY4VYD/+bmdfP0ELBwvPwwTXqQh7yHAd89AhBzjSY3to I3FQ== X-Gm-Message-State: ALoCoQkSqWfeuF2nJt4El7bpSNJ4EvBvZ4qBONapJIGtjcbJWwkbT8xJfHraumMiGPUUZwhr+WJ32NER0Y+6zOPMVI3DGqOiJg== X-Received: by 10.140.32.194 with SMTP id h60mr138377932qgh.79.1452195854458; Thu, 07 Jan 2016 11:44:14 -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 f66sm47187456qkb.5.2016.01.07.11.44.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jan 2016 11:44:14 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Thu, 7 Jan 2016 14:44:08 -0500 Message-Id: <1452195848-6517-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.5.0 X-Topics: patch Subject: [lng-odp] [PATCH] doc: images: refactor makefile 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" Drop per target rules for generic make Suggested-by: Anders Roxell Signed-off-by: Mike Holmes Reviewed-by: Bill Fischofer --- doc/images/Makefile.am | 67 ++++++++++---------------------------------------- 1 file changed, 13 insertions(+), 54 deletions(-) diff --git a/doc/images/Makefile.am b/doc/images/Makefile.am index 5495b69..8ab03b4 100644 --- a/doc/images/Makefile.am +++ b/doc/images/Makefile.am @@ -1,4 +1,14 @@ -SVG_SRCS = atomic_queue.svg \ +.svg.png: + convert $^ $@ + +.svg.eps: + convert $^ $@ + +.msc.png: + mscgen -T png -i $^ -o $@ + +SVG_SRCS = \ + atomic_queue.svg \ ordered_queue.svg \ parallel_queue.svg \ odp_components.svg \ @@ -11,12 +21,13 @@ SVG_SRCS = atomic_queue.svg \ SVG_TARGETS = $(SVG_SRCS:svg=png) SVG_TARGETS += $(SVG_SRCS:svg=eps) + MSG_SRCS = resource_management.msc MSG_TARGETS = $(MSG_SRCS:msc=png) EXTRA_DIST = $(SVG_SRCS) $(MSG_SRCS) -TARGETS= +TARGETS=$(SVG_TARGETS) $(MSG_TARGETS) if HAVE_IMAGEMAGIC TARGETS += $(SVG_TARGETS) @@ -30,55 +41,3 @@ all-local: $(TARGETS) clean-local: rm -f $(SVG_TARGETS) $(MSG_TARGETS) - -atomic_queue.png: atomic_queue.svg - convert $< $@ -atomic_queue.eps: atomic_queue.svg - convert $< $@ - -ordered_queue.png: ordered_queue.svg - convert $< $@ -parallel_queue.eps: parallel_queue.svg - convert $< $@ - -parallel_queue.png: parallel_queue.svg - convert $< $@ -ordered_queue.eps: ordered_queue.svg - convert $< $@ - -odp_components.png: odp_components.svg - convert $< $@ -odp_components.eps: odp_components.svg - convert $< $@ - -odp_rx_processing.png: odp_rx_processing.svg - convert $< $@ -odp_rx_processing.eps: odp_rx_processing.svg - convert $< $@ - -odp_scheduling.png: odp_scheduling.svg - convert $< $@ -odp_scheduling.eps: odp_scheduling.svg - convert $< $@ - -odp_traffic_manager.png: odp_traffic_manager.svg - convert $< $@ -odp_traffic_manager.eps: odp_traffic_manager.svg - convert $< $@ - -overview.png: overview.svg - convert $< $@ -overview.eps: overview.svg - -release_git.png: release_git.svg - convert $< $@ -release_git.eps: release_git.svg - convert $< $@ - -simple_release_git.png: simple_release_git.svg - convert $< $@ -simple_release_git.eps: simple_release_git.svg - convert $< $@ - -resource_management.png: resource_management.msc - mscgen -T png -i $< -o $@