VERSION=5.0
-PKGREL=40
+PKGREL=44
PACKAGE=libpve-common-perl
ARCH=all
-GITVERSION:=$(shell git rev-parse HEAD)
-BUILDDIR ?= build
+BUILDDIR ?= ${PACKAGE}-${VERSION}
DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb
DSC=${PACKAGE}_${VERSION}-${PKGREL}.dsc
${BUILDDIR}: src debian
rm -rf ${BUILDDIR}
rsync -a * ${BUILDDIR}
- echo "git clone git://git.proxmox.com/git/pve-common.git\\ngit checkout ${GITVERSION}" > ${BUILDDIR}/debian/SOURCE
+ echo "git clone git://git.proxmox.com/git/pve-common.git\\ngit checkout $(shell git rev-parse HEAD)" > ${BUILDDIR}/debian/SOURCE
.PHONY: deb
deb: ${DEB}