]> git.proxmox.com Git - ifupdown2.git/commitdiff
buildsys: use dpkg-dev makefile helpers for pkg info
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 28 Aug 2019 14:47:17 +0000 (16:47 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 28 Aug 2019 14:47:17 +0000 (16:47 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 7e2e8a81b07d0ce2faa3a42a64b9ac098c01c387..161e7dd2136aadd36799f9bf7a931a5918310963 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,13 @@
+include /usr/share/dpkg/pkg-info.mk
+
 PACKAGE=ifupdown2
-VER=1.2.8
-PKGREL=1+pve1
 
 SRCDIR=ifupdown2
 BUILDDIR=${SRCDIR}.tmp
 
 GITVERSION:=$(shell git rev-parse HEAD)
 
-DEB=${PACKAGE}_${VER}-${PKGREL}_all.deb
+DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
 
 all: ${DEB}
        @echo ${DEB}