More version reporting tweaks.

This commit is contained in:
Oliver Jowett 2014-12-10 12:44:00 +00:00
parent c6077b1e6c
commit f707f2cdce
4 changed files with 12 additions and 6 deletions

3
debian/rules vendored
View file

@ -15,9 +15,10 @@ DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
VER=$(shell dpkg-parsechangelog -SVersion)
SRCNAME=$(shell dpkg-parsechangelog -SSource)
override_dh_auto_build:
dh_auto_build -- 'EXTRACFLAGS=-DHTMLPATH=\"/usr/share/dump1090-mutability/html\" -DMODES_DUMP1090_VERSION=\"$(VER)\"'
dh_auto_build -- 'EXTRACFLAGS=-DHTMLPATH=\"/usr/share/dump1090-mutability/html\" -DMODES_DUMP1090_VARIANT=\"$(SRCNAME)\" -DMODES_DUMP1090_VERSION=\"$(VER)\"'
override_dh_install:
dh_install