UBUNTU: [Packaging] remove debian.*/variants
Now 'variants' is no longer used for building packages. It is true that the 'variants' is used in linux-meta, but there is no good reason to have it in linux-main. Only the remaining function is to check the variants from 'debian/rules printenv', but it is not so useful. Remove it. Signed-off-by: Masahiro Yamada <masahiro.yamada@canonical.com> Acked-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com> Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
This commit is contained in:
committed by
Paolo Pisati
parent
12489d44e9
commit
3744987cf0
@@ -1 +0,0 @@
|
||||
-wip
|
||||
Vendored
-6
@@ -19,12 +19,6 @@ release := $(patsubst %-$(revision),%,$(version))
|
||||
prev_fullver ?= $(shell dpkg-parsechangelog -l$(DEBIAN)/changelog -o1 -c1 -S version)
|
||||
prev_revision := $(lastword 0.0 $(subst -,$(space),$(prev_fullver)))
|
||||
|
||||
# Get variants. Assume primary if debian/variants is not present.
|
||||
variants = --
|
||||
ifneq (,$(wildcard $(DEBIAN)/variants))
|
||||
variants := $(shell cat $(DEBIAN)/variants)
|
||||
endif
|
||||
|
||||
# Get upstream version info
|
||||
upstream_version := $(shell sed -n 's/^VERSION = \(.*\)$$/\1/p' Makefile)
|
||||
upstream_patchlevel := $(shell sed -n 's/^PATCHLEVEL = \(.*\)$$/\1/p' Makefile)
|
||||
|
||||
Vendored
-1
@@ -43,7 +43,6 @@ printenv:
|
||||
@echo "prev_revision = $(prev_revision)"
|
||||
@echo "abinum = $(abinum)"
|
||||
@echo "upstream_tag = $(upstream_tag)"
|
||||
@echo "variants = $(variants)"
|
||||
@echo "flavours = $(flavours)"
|
||||
@echo "bin_pkg_name = $(bin_pkg_name)"
|
||||
@echo "hdr_pkg_name = $(hdrs_pkg_name)"
|
||||
|
||||
Reference in New Issue
Block a user