From 96d913b07b3705f8ba0670fbbe5136594710fbd2 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 3 Jan 2019 09:55:14 +0100 Subject: [PATCH] Makefile: use dpkg-parsechangelog Signed-off-by: Wolfgang Bumiller --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c2517e6..6bdfb6d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PACKAGE=libpve-guest-common-perl -PKGVER=2.0 -PKGREL=18 +PKGVER != dpkg-parsechangelog -Sversion | cut -d- -f1 +PKGREL != dpkg-parsechangelog -Sversion | cut -d- -f2 DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb DSC=${PACKAGE}_${PKGVER}-${PKGREL}.dsc