]> git.proxmox.com Git - ksm-control-daemon.git/commitdiff
buildsys: use dpkg default makefile snippet
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 Apr 2024 15:32:53 +0000 (17:32 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 Apr 2024 15:33:08 +0000 (17:33 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index d713f73e4512cf03801966b926a659a6b315836b..c5bf3f4ec857e4ca269c53a91dcb2682d62cbafb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,8 @@
-PACKAGE=ksm-control-daemon
+include /usr/share/dpkg/default.mk
 
-# also update debian/changelog
-PKGVER=1.3
-PKGREL=1
+PACKAGE=ksm-control-daemon
 
-KSM_DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb
+KSM_DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
 
 GITVERSION:=$(shell git rev-parse HEAD)