mirror of
git://git.proxmox.com/git/novnc-pve.git
synced 2025-01-03 05:17:56 +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:
parent
35eede9f28
commit
815c0744e2
8
Makefile
8
Makefile
@ -1,15 +1,13 @@
|
||||
include /usr/share/dpkg/pkg-info.mk
|
||||
|
||||
PACKAGE=novnc-pve
|
||||
VER=1.0.0
|
||||
PKGREL=3
|
||||
|
||||
SRCDIR=novnc
|
||||
BUILDDIR=${SRCDIR}.tmp
|
||||
|
||||
ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
||||
|
||||
GITVERSION:=$(shell git rev-parse HEAD)
|
||||
|
||||
DEB=${PACKAGE}_${VER}-${PKGREL}_${ARCH}.deb
|
||||
DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
|
||||
|
||||
all: ${DEB}
|
||||
@echo ${DEB}
|
||||
|
Loading…
Reference in New Issue
Block a user