]> git.proxmox.com Git - pve-manager.git/commitdiff
buildsys: adapt extracting release to native versioning
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 29 May 2023 16:15:11 +0000 (18:15 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 29 May 2023 16:24:00 +0000 (18:24 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 24e9701300b326fada37b79c6e6434970a357751..ae0bde5861c857071662ffea8d9c46a64c55ea78 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,8 @@ include /usr/share/dpkg/pkg-info.mk
 include /usr/share/dpkg/architecture.mk
 include defines.mk
 
-export PVERELEASE=$(DEB_VERSION_UPSTREAM)
-export VERSION=$(DEB_VERSION_UPSTREAM_REVISION)
+export PVERELEASE = $(shell echo $(DEB_VERSION_UPSTREAM) | cut -c 1-3)
+export VERSION = $(DEB_VERSION_UPSTREAM_REVISION)
 
 DESTDIR=