mirror of
git://git.proxmox.com/git/spiceterm.git
synced 2025-08-22 10:17:06 +00:00
buildsys: improve resolving version
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
0c95cc53a0
commit
d5137d6926
2
Makefile
2
Makefile
@ -6,8 +6,6 @@ PACKAGE=spiceterm
|
|||||||
GITVERSION:=$(shell cat .git/refs/heads/master)
|
GITVERSION:=$(shell cat .git/refs/heads/master)
|
||||||
BUILDDIR ?= $(PACKAGE)-$(DEB_VERSION_UPSTREAM)
|
BUILDDIR ?= $(PACKAGE)-$(DEB_VERSION_UPSTREAM)
|
||||||
|
|
||||||
export VERSION=$(DEB_VERSION_UPSTREAM)
|
|
||||||
|
|
||||||
DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_$(DEB_BUILD_ARCH).deb
|
DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_$(DEB_BUILD_ARCH).deb
|
||||||
DBG_DEB=$(PACKAGE)-dbgsym_$(DEB_VERSION_UPSTREAM_REVISION)_$(DEB_BUILD_ARCH).deb
|
DBG_DEB=$(PACKAGE)-dbgsym_$(DEB_VERSION_UPSTREAM_REVISION)_$(DEB_BUILD_ARCH).deb
|
||||||
DSC=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc
|
DSC=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc
|
||||||
|
3
debian/rules
vendored
3
debian/rules
vendored
@ -3,6 +3,9 @@
|
|||||||
# Uncomment this to turn on verbose mode.
|
# Uncomment this to turn on verbose mode.
|
||||||
#export DH_VERBOSE=1
|
#export DH_VERBOSE=1
|
||||||
|
|
||||||
|
include /usr/share/dpkg/pkg-info.mk
|
||||||
|
export VERSION = $(or $(DEB_VERSION_UPSTREAM), unknown)
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@
|
dh $@
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
PROGRAMS=spiceterm
|
PROGRAMS=spiceterm
|
||||||
|
VERSION ?= $(or $(shell git rev-parse --short HEAD), unknown)
|
||||||
|
|
||||||
HEADERS=translations.h event_loop.h glyphs.h spiceterm.h keysyms.h
|
HEADERS=translations.h event_loop.h glyphs.h spiceterm.h keysyms.h
|
||||||
SOURCES=screen.c event_loop.c input.c spiceterm.c auth-pve.c
|
SOURCES=screen.c event_loop.c input.c spiceterm.c auth-pve.c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user