From patchwork Tue Oct 21 14:31:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 39158 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 348CB202DB for ; Tue, 21 Oct 2014 14:32:02 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id hi2sf1032136wib.5 for ; Tue, 21 Oct 2014 07:32:00 -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: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=yrjfBTvdM7DUTzUh7iqoUIiGZiTgIP2rWCxfFUVPcqU=; b=N9fm3U8e+3TXKYNyNSGdT8SMcKBvFqP0UyyZigCznX+cn/BLJ6BC7A5EHRppcZUZpO NUJumA9Ezjf1gEtBXNHo79NZKinEGy/U8DeDAPJBVAfvwusKfHIz6f8RxmnQ+Ot+7+L6 w1J++M8PP+fTVmH1K10KlUsrsUz/d/j3bNjkjQSqSB8WpRWumkRus+4fnIsCtVJ+widY ejjtIFkRRnQ1Cae0HRK8iPBOMCC7xmj+tJNe95LB0noAQQcwVggU1FRZyAstvl6NaKkq UejlGvPx/xvllMQ2KRIQZu95OjtPVrRLvqjm88anU+XKY75H1t2bu84zaC+U76dPHSo3 MdFg== X-Gm-Message-State: ALoCoQkBuzhoMKJPDbFd1vy0InTeaGXhnpLYmv2cITKloULNkggF8szapXbUlwdJBLnWQvGRbefL X-Received: by 10.152.88.70 with SMTP id be6mr5257528lab.1.1413901920260; Tue, 21 Oct 2014 07:32:00 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.44 with SMTP id kv12ls63789lac.44.gmail; Tue, 21 Oct 2014 07:32:00 -0700 (PDT) X-Received: by 10.152.5.129 with SMTP id s1mr16031083las.59.1413901920114; Tue, 21 Oct 2014 07:32:00 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id v8si19187691lag.107.2014.10.21.07.32.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Oct 2014 07:32:00 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by mail-la0-f43.google.com with SMTP id mc6so1182502lab.2 for ; Tue, 21 Oct 2014 07:32:00 -0700 (PDT) X-Received: by 10.152.87.98 with SMTP id w2mr34699654laz.27.1413901919990; Tue, 21 Oct 2014 07:31:59 -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.112.84.229 with SMTP id c5csp509171lbz; Tue, 21 Oct 2014 07:31:56 -0700 (PDT) X-Received: by 10.140.90.20 with SMTP id w20mr43117347qgd.88.1413901915559; Tue, 21 Oct 2014 07:31:55 -0700 (PDT) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id g21si22604908qgd.63.2014.10.21.07.31.51 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 21 Oct 2014 07:31:55 -0700 (PDT) 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 1XgaTW-0000PW-AU; Tue, 21 Oct 2014 14:31:50 +0000 Received: from mail-la0-f50.google.com ([209.85.215.50]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XgaTQ-0000ND-2B for lng-odp@lists.linaro.org; Tue, 21 Oct 2014 14:31:44 +0000 Received: by mail-la0-f50.google.com with SMTP id s18so1167774lam.37 for ; Tue, 21 Oct 2014 07:31:38 -0700 (PDT) X-Received: by 10.112.29.175 with SMTP id l15mr34592419lbh.39.1413901898004; Tue, 21 Oct 2014 07:31:38 -0700 (PDT) Received: from localhost.localdomain (ppp91-76-163-205.pppoe.mtu-net.ru. [91.76.163.205]) by mx.google.com with ESMTPSA id ql6sm2191082lbb.31.2014.10.21.07.31.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Oct 2014 07:31:37 -0700 (PDT) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Tue, 21 Oct 2014 18:31:26 +0400 Message-Id: <1413901886-21728-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.8.5.1.163.gd7aced9 X-Topics: patch Subject: [lng-odp] [PATCHv2] force latex to generate docs 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: maxim.uvarov@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.215.43 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 make doxygen-doc calls latex to generate odp documentation, but in case if any error it stops and expects user input. Force latex progress and show errors/warnings on screen. Signed-off-by: Maxim Uvarov --- v2: added -interaction=nonstopmode to pdf generation aminclude.am | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/aminclude.am b/aminclude.am index a8ce032..a994061 100644 --- a/aminclude.am +++ b/aminclude.am @@ -85,14 +85,14 @@ doxygen-ps: @DX_DOCDIR@/@PACKAGE@.ps @DX_DOCDIR@/@PACKAGE@.ps: @DX_DOCDIR@/@PACKAGE@.tag cd @DX_DOCDIR@/latex; \ rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \ - $(DX_LATEX) refman.tex; \ + $(DX_LATEX) -interaction=nonstopmode refman.tex; \ $(MAKEINDEX_PATH) refman.idx; \ - $(DX_LATEX) refman.tex; \ + $(DX_LATEX) -interaction=nonstopmode refman.tex; \ countdown=5; \ while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \ refman.log > /dev/null 2>&1 \ && test $$countdown -gt 0; do \ - $(DX_LATEX) refman.tex; \ + $(DX_LATEX) -interaction=nonstopmode refman.tex; \ countdown=`expr $$countdown - 1`; \ done; \ $(DX_DVIPS) -o ../@PACKAGE@.ps refman.dvi @@ -114,14 +114,14 @@ doxygen-pdf: @DX_DOCDIR@/@PACKAGE@.pdf @DX_DOCDIR@/@PACKAGE@.pdf: @DX_DOCDIR@/@PACKAGE@.tag cd @DX_DOCDIR@/latex; \ rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \ - $(DX_PDFLATEX) refman.tex; \ + $(DX_PDFLATEX) -interaction=nonstopmod refman.tex; \ $(DX_MAKEINDEX) refman.idx; \ - $(DX_PDFLATEX) refman.tex; \ + $(DX_PDFLATEX) -interaction=nonstopmod refman.tex; \ countdown=5; \ while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \ refman.log > /dev/null 2>&1 \ && test $$countdown -gt 0; do \ - $(DX_PDFLATEX) refman.tex; \ + $(DX_PDFLATEX) -interaction=nonstopmod refman.tex; \ countdown=`expr $$countdown - 1`; \ done; \ mv refman.pdf ../@PACKAGE@.pdf