buildsys: use /usr/share/dpkg/default.mk

instead of calling dpkg-parsechangelog, as this is more consistent
with our other packages

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
Stoiko Ivanov 2023-06-26 14:03:20 +02:00
parent a75b01b99f
commit 6f2bebfcd2

View File

@ -1,11 +1,10 @@
include defines.mk
PKGVER != dpkg-parsechangelog -S version
include /usr/share/dpkg/default.mk
all: $(DEB)
DEB=$(PACKAGE)_$(PKGVER)_all.deb
DSC=$(PACKAGE)_$(PKGVER)_all.deb
DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb
DSC=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc
.PHONY: deb
deb: $(DEB)