From patchwork Tue Apr 15 20:17:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 28424 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f72.google.com (mail-qa0-f72.google.com [209.85.216.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 77C6E2036A for ; Tue, 15 Apr 2014 20:18:03 +0000 (UTC) Received: by mail-qa0-f72.google.com with SMTP id hw13sf20043615qab.11 for ; Tue, 15 Apr 2014 13:18:02 -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=btgYiotmiCXuPXUzcs8++YJTw+Avkmg+CtA/RQgQWIxDjIdUpu/sqPQf/I+VjHcryH 1pefx1/0cLzimuLxiS/98F7wgNQmiuLhOaGKJlrNzgK7oMF4ww7TRSsWivdBPxbkTp8S rNm8WBaI6NeTeEqwfa56KYwF36lyx4mIMaBKdY3uAoUUNVa7TNB5GVUWXEnPZh7tEaQg xcQmVag1hSRViTUTgQKO+6jAB168l6cTuivaXjH9Psim5uzGJDlQspXYDIQbmT3bXhEB PgJ/UHiZFPCftD4RdTtaELRFHsWsVNBHCMh2PlL3ilImc8ANZ3hCW/Hc9gVd4bLA5rMK 56eA== X-Gm-Message-State: ALoCoQmQ7fVFAMguw/mGDSOuqWLBaxLb0lfHorfyOKsDUpEX7GQY/nLyfDQfi/xg8Z3qpwzjKuN5 X-Received: by 10.236.231.52 with SMTP id k50mr1575193yhq.52.1397593082940; Tue, 15 Apr 2014 13:18:02 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.51.137 with SMTP id u9ls300690qga.81.gmail; Tue, 15 Apr 2014 13:18:02 -0700 (PDT) X-Received: by 10.58.105.105 with SMTP id gl9mr2875107veb.3.1397593082738; Tue, 15 Apr 2014 13:18:02 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id sw4si3591536vdc.120.2014.04.15.13.18.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Apr 2014 13:18:02 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.173 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.173; Received: by mail-vc0-f173.google.com with SMTP id il7so9642701vcb.18 for ; Tue, 15 Apr 2014 13:18:02 -0700 (PDT) X-Received: by 10.58.122.164 with SMTP id lt4mr2938767veb.2.1397593082637; Tue, 15 Apr 2014 13:18:02 -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 ib8csp259442vcb; Tue, 15 Apr 2014 13:17:45 -0700 (PDT) X-Received: by 10.140.29.131 with SMTP id b3mr5402186qgb.5.1397593065180; Tue, 15 Apr 2014 13:17:45 -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 d10si8561543qaf.101.2014.04.15.13.17.44 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 15 Apr 2014 13:17:45 -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 1Wa9nS-00024H-Ka; Tue, 15 Apr 2014 20:17:34 +0000 Received: from mail-qa0-f53.google.com ([209.85.216.53]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Wa9nF-00023a-Ok for lng-odp@lists.linaro.org; Tue, 15 Apr 2014 20:17:21 +0000 Received: by mail-qa0-f53.google.com with SMTP id w8so9609647qac.26 for ; Tue, 15 Apr 2014 13:17:26 -0700 (PDT) X-Received: by 10.224.151.130 with SMTP id c2mr417016qaw.67.1397593046010; Tue, 15 Apr 2014 13:17:26 -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 r5sm39241093qaj.24.2014.04.15.13.17.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 15 Apr 2014 13:17:25 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Tue, 15 Apr 2014 16:17:11 -0400 Message-Id: <1397593031-38578-3-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1397593031-38578-1-git-send-email-mike.holmes@linaro.org> References: <1397593031-38578-1-git-send-email-mike.holmes@linaro.org> Subject: [lng-odp] [PATCH 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.173 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