[PATCH] UBUNTU: [packaging] do not use ../.$(series)-env file

Kamal Mostafa kamal at canonical.com
Wed Mar 13 22:20:04 UTC 2013


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 <kamal at canonical.com>
---
 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
-- 
1.7.10.4





More information about the kernel-team mailing list