mirror of
git://git.proxmox.com/git/proxmox-mini-journalreader.git
synced 2025-01-07 17:17:48 +03:00
buildsys: use dpkg-dev make helpers for version and arch
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
2c9917d409
commit
94f39a95d6
7
Makefile
7
Makefile
@ -1,10 +1,11 @@
|
||||
include /usr/share/dpkg/pkg-info.mk
|
||||
include /usr/share/dpkg/architecture.mk
|
||||
|
||||
PACKAGE := proxmox-mini-journalreader
|
||||
|
||||
ARCH != dpkg-architecture -qDEB_BUILD_ARCH
|
||||
PKGVER != dpkg-parsechangelog -S version
|
||||
GITVERSION:=$(shell git rev-parse HEAD)
|
||||
|
||||
DEB=${PACKAGE}_${PKGVER}_${ARCH}.deb
|
||||
DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_${DEB_BUILD_ARCH}.deb
|
||||
|
||||
all: $(DEB)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user