From patchwork Wed Mar 13 22:20:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Mostafa X-Patchwork-Id: 227358 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 8925A2C009F for ; Thu, 14 Mar 2013 09:20:17 +1100 (EST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1UFu1o-0003mg-UN; Wed, 13 Mar 2013 22:20:08 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1UFu1m-0003ma-Ld for kernel-team@lists.ubuntu.com; Wed, 13 Mar 2013 22:20:06 +0000 Received: from c-67-160-231-42.hsd1.ca.comcast.net ([67.160.231.42] helo=fourier) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1UFu1m-0003mm-FR; Wed, 13 Mar 2013 22:20:06 +0000 Received: from kamal by fourier with local (Exim 4.80) (envelope-from ) id 1UFu1k-0001M1-7Z; Wed, 13 Mar 2013 15:20:04 -0700 From: Kamal Mostafa To: kernel-team@lists.ubuntu.com Subject: [PATCH] UBUNTU: [packaging] do not use ../.$(series)-env file Date: Wed, 13 Mar 2013 15:20:04 -0700 Message-Id: <1363213204-5176-1-git-send-email-kamal@canonical.com> X-Mailer: git-send-email 1.7.10.4 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: kernel-team-bounces@lists.ubuntu.com Trying to use a file from ../ outside the tree seems like a bad idea, and the series="oneiric" value here is stale by three releases now. Kill this apparently unused "feature". Signed-off-by: Kamal Mostafa --- debian/rules.d/0-common-vars.mk | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/debian/rules.d/0-common-vars.mk b/debian/rules.d/0-common-vars.mk index 65c5562..c2dfe6c 100644 --- a/debian/rules.d/0-common-vars.mk +++ b/debian/rules.d/0-common-vars.mk @@ -4,7 +4,6 @@ src_pkg_name=$(shell sed -n '1s/^\(.*\) (.*).*$$/\1/p' $(DEBIAN)/changelog) # Get some version info -series := oneiric release := $(shell sed -n '1s/^$(src_pkg_name).*(\(.*\)-.*).*$$/\1/p' $(DEBIAN)/changelog) revisions := $(shell sed -n 's/^$(src_pkg_name)\ .*($(release)-\(.*\)).*$$/\1/p' $(DEBIAN)/changelog | tac) revision ?= $(word $(words $(revisions)),$(revisions)) @@ -25,16 +24,6 @@ family=ubuntu # or configs. AUTOBUILD= -# -# This is a way to support some external variables. A good example is -# a local setup for ccache and distcc See LOCAL_ENV_CC and -# LOCAL_ENV_DISTCC_HOSTS in the definition of kmake. -# For example: -# LOCAL_ENV_CC="ccache distcc" -# LOCAL_ENV_DISTCC_HOSTS="localhost 10.0.2.5 10.0.2.221" -# --include $(CURDIR)/../.$(series)-env - ifneq ($(AUTOBUILD),) skipabi = true skipmodule = true