From patchwork Mon Feb 22 13:17:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Salveti X-Patchwork-Id: 62567 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1230164lbl; Mon, 22 Feb 2016 05:18:19 -0800 (PST) X-Received: by 10.140.22.139 with SMTP id 11mr34664454qgn.34.1456147099329; Mon, 22 Feb 2016 05:18:19 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id g205si28072555qkb.89.2016.02.22.05.18.19; Mon, 22 Feb 2016 05:18:19 -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 Received: by lists.linaro.org (Postfix, from userid 109) id EA53561784; Mon, 22 Feb 2016 13:18:18 +0000 (UTC) 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.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, 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 5AB75617C3; Mon, 22 Feb 2016 13:17:53 +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 8E485617C0; Mon, 22 Feb 2016 13:17:48 +0000 (UTC) Received: from mail-qg0-f53.google.com (mail-qg0-f53.google.com [209.85.192.53]) by lists.linaro.org (Postfix) with ESMTPS id B24AB61756 for ; Mon, 22 Feb 2016 13:17:46 +0000 (UTC) Received: by mail-qg0-f53.google.com with SMTP id b35so109931901qge.0 for ; Mon, 22 Feb 2016 05:17:46 -0800 (PST) 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:in-reply-to :references; bh=vsIeQxcUs56S0x7pkXPMIQe/EvSoQW7r+81jR9rLp9c=; b=L5ouOQmyb7OEtBT4g4LBDzhCXuU8XYtQuF5zoH27LA+bY5QCsTsH6JueTVgUS9EHvB b/EeDbsd+rTvXiHqGahaDgffJEnfC3A+1XysSfoHQFr4TliztZZoaiv4vKLtxieFzHOZ Sgjm2d/9UFmqdAZVJtdxohx+6mi8VYUHlXY9M5/KLyrLIsnteI/5RmWI2QWu2HlTW4Tp o4/GyLGQq3ePmAQAA+h1uXWXOElwYK47cV1rwTpU/clcHEj/HKv30fRqOTAm4OfJCLdP R03HV3Sl+seYIlrb+4TWL9foPnQthe+2ugh7oi68GRjo0EHJfRD31PLtqq/fLqqelXqg NCaA== X-Gm-Message-State: AG10YOTf7EX5M9MM4IMw56eBokPJBkGfK1Zq7D8av92fFxS/hib5JVptB/5KHz2CLwnsiFnlnLw= X-Received: by 10.140.30.4 with SMTP id c4mr34926032qgc.14.1456147066522; Mon, 22 Feb 2016 05:17:46 -0800 (PST) Received: from localhost.localdomain ([179.223.143.138]) by smtp.gmail.com with ESMTPSA id w66sm6261146qgd.26.2016.02.22.05.17.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Feb 2016 05:17:46 -0800 (PST) From: Ricardo Salveti To: lng-odp@lists.linaro.org Date: Mon, 22 Feb 2016 10:17:35 -0300 Message-Id: <1456147056-767-2-git-send-email-ricardo.salveti@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1456147056-767-1-git-send-email-ricardo.salveti@linaro.org> References: <1456147056-767-1-git-send-email-ricardo.salveti@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 2/3] pkg/debian: use dh-autoreconf by default 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" Since it's usually a good idea to call autoreconf when building packages, prefer that option instead of using the pre-built autoconf files with autotools-dev. Signed-off-by: Ricardo Salveti --- pkg/debian/control | 2 +- pkg/debian/rules | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pkg/debian/control b/pkg/debian/control index 941e8a8..873070a 100644 --- a/pkg/debian/control +++ b/pkg/debian/control @@ -1,7 +1,7 @@ Source: opendataplane Priority: optional Maintainer: Anders Roxell -Build-Depends: debhelper (>= 9), autotools-dev, libssl-dev, doxygen, +Build-Depends: debhelper (>= 9), dh-autoreconf, libssl-dev, doxygen, imagemagick, libmagickcore-6.q16-2-extra | libmagickcore-extra, ghostscript, asciidoc, mscgen, texlive-latex-recommended Standards-Version: 3.9.6 diff --git a/pkg/debian/rules b/pkg/debian/rules index 73a921d..49c5288 100755 --- a/pkg/debian/rules +++ b/pkg/debian/rules @@ -1,12 +1,17 @@ #!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) DPKG_EXPORT_BUILDFLAGS = 0 include /usr/share/dpkg/default.mk -# main packaging script based on dh7 syntax %: - dh $@ --with autotools-dev + dh $@ --with autoreconf + +override_dh_autoreconf: + dh_autoreconf ./bootstrap override_dh_auto_configure: dh_auto_configure -- --enable-static