From patchwork Wed Apr 16 10:36:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 28454 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 304112036A for ; Wed, 16 Apr 2014 10:37:06 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id r5sf35059218qcx.1 for ; Wed, 16 Apr 2014 03:37:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=ppwORQ/ZO841xzQ1iX0j9hAe+miAdYmu0581yXVQyDA=; b=Vwf2y1FedkRnR0Ns3Zayb8tYLfqfnxR8QuiqTatU1PPSbUkdab0srkORSNEW2tLiMo Iaqb/t/brm/fx660CUW5dyXOtFakZZr5oK0gqT9hl44W+5ZVrK7wxDB5vpePfl0yGlaM Orqs+TWrXiYr4fHnfR2uj+pPqIfh4yKKi33eABi2TV7m60T/uZTZ937g0Ovok/iPae8m VYG7Iw1JrLbkDQ8rtR4A1O6tN6Xr06g9loAOIdxcXemnDE06SVYy47rRLgkEKAGEd0iX 9LGEN3PqtC3LkwmTdyfDX6PgQOZtCU3Uxy6omVKECs4BuzhJ49hAdQ01a8hA4TaiZfZO xwKw== X-Gm-Message-State: ALoCoQkT0IXAikfCPbhbPfbfboyCIEC+uzh9TpriDIVQHW7gtvwuFagWEppXjEzwb1bhQdUcNKDx X-Received: by 10.58.94.232 with SMTP id df8mr3345505veb.23.1397644625962; Wed, 16 Apr 2014 03:37:05 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.27.38 with SMTP id 35ls537636qgw.77.gmail; Wed, 16 Apr 2014 03:37:05 -0700 (PDT) X-Received: by 10.221.74.200 with SMTP id yx8mr2334373vcb.3.1397644625837; Wed, 16 Apr 2014 03:37:05 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id xt10si3816229veb.58.2014.04.16.03.37.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Apr 2014 03:37:05 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id lf12so10226479vcb.25 for ; Wed, 16 Apr 2014 03:37:05 -0700 (PDT) X-Received: by 10.58.96.36 with SMTP id dp4mr1484749veb.21.1397644625755; Wed, 16 Apr 2014 03:37:05 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp301412vcb; Wed, 16 Apr 2014 03:37:05 -0700 (PDT) X-Received: by 10.224.161.10 with SMTP id p10mr3767341qax.12.1397644625321; Wed, 16 Apr 2014 03:37:05 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id p66si1113046qgd.65.2014.04.16.03.37.04 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 16 Apr 2014 03:37:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1WaND3-0006po-UQ; Wed, 16 Apr 2014 10:36:53 +0000 Received: from mail-qg0-f45.google.com ([209.85.192.45]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1WaNCp-0006p7-8I for lng-odp@lists.linaro.org; Wed, 16 Apr 2014 10:36:39 +0000 Received: by mail-qg0-f45.google.com with SMTP id j5so10823535qga.4 for ; Wed, 16 Apr 2014 03:36:44 -0700 (PDT) X-Received: by 10.224.115.68 with SMTP id h4mr3733390qaq.35.1397644604411; Wed, 16 Apr 2014 03:36:44 -0700 (PDT) Received: from fedora1.holmesfamily.ws (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by mx.google.com with ESMTPSA id 1sm14746906qal.29.2014.04.16.03.36.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 Apr 2014 03:36:43 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Wed, 16 Apr 2014 06:36:20 -0400 Message-Id: <1397644580-5709-3-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1397644580-5709-1-git-send-email-mike.holmes@linaro.org> References: <1397644580-5709-1-git-send-email-mike.holmes@linaro.org> Subject: [lng-odp] [PATCH v2 2/2] add makefile X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: 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-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mike.holmes@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Mike Holmes --- Makefile | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e3334e0 --- /dev/null +++ b/Makefile @@ -0,0 +1,60 @@ +## Copyright (c) 2014, Linaro Limited +## All rights reserved. +## +## Redistribution and use in source and binary forms, with or without +## modification, are permitted provided that the following conditions are met: +## +## * Redistributions of source code must retain the above copyright notice, this +## list of conditions and the following disclaimer. +## +## * Redistributions in binary form must reproduce the above copyright notice, this +## list of conditions and the following disclaimer in the documentation and/or +## other materials provided with the distribution. +## +## * Neither the name of Linaro Limited nor the names of its contributors may be +## used to endorse or promote products derived from this software without specific +## prior written permission. +## +## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +## ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +## WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +## DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +## SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +## CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MKDIR := mkdir -p +RMDIR := rm -rf + +.DEFAULT_GOAL := docs + +DOC_DIR = ./doc + +.PHONY: all +all: docs + +$(DOC_DIR): + $(MKDIR) $(DOC_DIR)/html + $(MKDIR) $(DOC_DIR)/latex + +clean: + $(RMDIR) $(DOC_DIR) + $(RM) Doxyfile + +Doxyfile: Doxyfile.in + doxygen -u - < $< > $@ + +.PHONY: docs +docs: $(DOC_DIR) Doxyfile + doxygen + +.PHONY: docs_install +docs_install: docs + $(COPY) doc $(DESTDIR) + +.PHONY: pdf +pdf: docs + make --directory doc/latex refman.pdf 1> /dev/null