diff mbox series

[Unstable,1/3] UBUNTU: [Packaging] Drop versioned ABI directory names

Message ID 20210412125358.23098-2-juergh@canonical.com
State New
Headers show
Series debian: Drop versioned ABI directory names | expand

Commit Message

Juerg Haefliger April 12, 2021, 12:53 p.m. UTC
Versioned ABI directory names are not really necessary and make it
difficult to follow the ABI history due to directory name changes between
releases. So use directory names 'current' and 'previous' instead.

Signed-off-by: Juerg Haefliger <juergh@canonical.com>
---
 debian/rules.d/0-common-vars.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/debian/rules.d/0-common-vars.mk b/debian/rules.d/0-common-vars.mk
index f642cda1a185..c3e417e242e4 100644
--- a/debian/rules.d/0-common-vars.mk
+++ b/debian/rules.d/0-common-vars.mk
@@ -125,8 +125,8 @@  ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
 	CROSS_COMPILE ?= $(DEB_HOST_GNU_TYPE)-
 endif
 
-abidir		:= $(CURDIR)/$(DEBIAN)/abi/$(release)-$(revision)/$(arch)
-prev_abidir	:= $(CURDIR)/$(DEBIAN)/abi/$(release)-$(prev_revision)/$(arch)
+abidir		:= $(CURDIR)/$(DEBIAN)/abi/current/$(arch)
+prev_abidir	:= $(CURDIR)/$(DEBIAN)/abi/previous/$(arch)
 commonconfdir	:= $(CURDIR)/$(DEBIAN)/config
 archconfdir	:= $(CURDIR)/$(DEBIAN)/config/$(arch)
 sharedconfdir	:= $(CURDIR)/debian.master/config