X-Git-Url: https://git.proxmox.com/?p=pve-apiclient.git;a=blobdiff_plain;f=Makefile;h=c02ba14fa87b0ec8357ec078346cdeb22d638d2f;hp=8269eae1c05caecbfa8825ac2065eef16c4ea8dc;hb=b6ce5c27836f933420b30107bd3409b8c6574bb3;hpb=2689bc847d446afc55a9f07308318024fac7a27a diff --git a/Makefile b/Makefile index 8269eae..c02ba14 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PACKAGE=libpve-apiclient-perl -PKGVER=2.0 -PKGREL=4 +PKGVER=$(shell dpkg-parsechangelog -Sversion | cut -d- -f1) +PKGREL=$(shell dpkg-parsechangelog -Sversion | cut -d- -f2) BUILDSRC := $(PACKAGE)-$(PKGVER) DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb