From patchwork Tue Nov 11 10:30:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciprian Barbu X-Patchwork-Id: 40563 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f70.google.com (mail-ee0-f70.google.com [74.125.83.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D75EA241C9 for ; Tue, 11 Nov 2014 10:30:44 +0000 (UTC) Received: by mail-ee0-f70.google.com with SMTP id b57sf6640139eek.9 for ; Tue, 11 Nov 2014 02:30:43 -0800 (PST) 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: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=KbA+YBSFraxRC/JHM5Yu0JMZpuXIHQnCE0OSTJlOyFE=; b=hrPdI4upNg9sItqX75gDkmDNRW6gXeIrvDUYVjwHxXovq6g8356lRKw8p+27oVIQMK h1RJuxy+1T5h/QN7NtfpkuGVIl8MtiafWqa6NVtevRj0lfy1GMj2iBO5Tk6HHNR5dUzm R+Igz8f6qZKDmyEJzrJiPU2fnfDKANdt10qtkSca1UyT+voxW4zP7Ds7QmSI6pyy4x9l 8RGbv2p/h0aBvOSzdBb1wkSz0sTWWOUs8fHgNTWsrNSuH3i54MF8E2PEXU9Pc3X2FShy FJOBxoILr7CVyJ/KYnTCCmkg7vC4yVIusJBKCGc1bo1lJdmWIX1bgCwk9vrMEy/3Hxvk Klzg== X-Gm-Message-State: ALoCoQnz7YM8hH1hG/Uz0DBS02WBpfxXw6tId1OnnqQ3DB4xP/0EBNuov84OmCmrqtZ/CFV8PYut X-Received: by 10.180.221.7 with SMTP id qa7mr5157186wic.6.1415701843738; Tue, 11 Nov 2014 02:30:43 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.193 with SMTP id l1ls609978laa.79.gmail; Tue, 11 Nov 2014 02:30:43 -0800 (PST) X-Received: by 10.112.148.199 with SMTP id tu7mr35786408lbb.7.1415701843485; Tue, 11 Nov 2014 02:30:43 -0800 (PST) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id d3si31049505lbc.14.2014.11.11.02.30.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Nov 2014 02:30:43 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by mail-lb0-f177.google.com with SMTP id z12so598168lbi.8 for ; Tue, 11 Nov 2014 02:30:43 -0800 (PST) X-Received: by 10.112.12.35 with SMTP id v3mr8512930lbb.80.1415701841674; Tue, 11 Nov 2014 02:30:41 -0800 (PST) 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.112.184.201 with SMTP id ew9csp232831lbc; Tue, 11 Nov 2014 02:30:41 -0800 (PST) X-Received: by 10.170.127.66 with SMTP id t63mr17423ykb.89.1415701839911; Tue, 11 Nov 2014 02:30:39 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id g11si35955466qgg.113.2014.11.11.02.30.38 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 11 Nov 2014 02:30:39 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Xo8ia-0002KA-W1; Tue, 11 Nov 2014 10:30:36 +0000 Received: from mail-la0-f48.google.com ([209.85.215.48]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Xo8iU-0002Ji-Qi for lng-odp@lists.linaro.org; Tue, 11 Nov 2014 10:30:30 +0000 Received: by mail-la0-f48.google.com with SMTP id gq15so9434563lab.35 for ; Tue, 11 Nov 2014 02:30:25 -0800 (PST) X-Received: by 10.152.19.133 with SMTP id f5mr1679527lae.87.1415701824944; Tue, 11 Nov 2014 02:30:24 -0800 (PST) Received: from cipriantemp.enea.se (sestofw01.enea.se. [192.36.1.252]) by mx.google.com with ESMTPSA id kg9sm5876418lbc.45.2014.11.11.02.30.24 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Nov 2014 02:30:24 -0800 (PST) From: Ciprian Barbu To: lng-odp@lists.linaro.org Date: Tue, 11 Nov 2014 12:30:17 +0200 Message-Id: <1415701817-10016-1-git-send-email-ciprian.barbu@linaro.org> X-Mailer: git-send-email 1.8.3.2 X-Topics: patch Subject: [lng-odp] [PATCH] doxygen-html: include platform APIs only if they exist 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: ciprian.barbu@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) 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: Ciprian Barbu --- This affects primarily odp-netmap but the assumption that there are API files in platform/XXX/include/api is wrong to begin with. aminclude.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aminclude.am b/aminclude.am index a8ce032..92902be 100644 --- a/aminclude.am +++ b/aminclude.am @@ -146,11 +146,13 @@ doxygen-html: @DX_DOCDIR@/@PACKAGE@.tag doxygen-doc: doxygen-html $(DX_PS_GOAL) $(DX_PDF_GOAL) +PLATFORM_API = ${srcdir}/platform/${with_platform}/include/api + @DX_DOCDIR@/@PACKAGE@.tag: $(DX_CONFIG) $(pkginclude_HEADERS) rm -rf @DX_DOCDIR@ @mkdir -p @DX_DOCDIR@/api_headers @cp ${srcdir}/platform/linux-generic/include/api/odp_*.h @DX_DOCDIR@/api_headers - @cp ${srcdir}/platform/${with_platform}/include/api/odp_*.h @DX_DOCDIR@/api_headers + @if find ${PLATFORM_API} -type f -name '*.h' 2> /dev/null; then cp ${PLATFORM_API}/odp_*.h @DX_DOCDIR@/api_headers; fi $(DX_ENV) $(DX_DOXYGEN) $(srcdir)/$(DX_CONFIG) @rm -rf @DX_DOCDIR@/api_headers