5
0
mirror of git://git.proxmox.com/git/pve-common.git synced 2025-01-22 06:04:10 +03:00

buildsys: use dpkg-dev makefile helpers for pkg info

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-07-23 09:32:29 +02:00
parent 949db6e320
commit 8a27e4a457

View File

@ -1,15 +1,14 @@
VERSION=6.0 include /usr/share/dpkg/pkg-info.mk
PKGREL=2
PACKAGE=libpve-common-perl PACKAGE=libpve-common-perl
ARCH=all ARCH=all
BUILDDIR ?= ${PACKAGE}-${VERSION} BUILDDIR ?= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_${ARCH}.deb
DSC=${PACKAGE}_${VERSION}-${PKGREL}.dsc DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc
TARGZ=${PACKAGE}_${VERSION}-${PKGREL}.tar.gz TARGZ=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.tar.gz
all: all:
${MAKE} -C src ${MAKE} -C src