Set HTMLPATH correctly when compiling.

Put static files in /usr/share/dump1090-mr not /usr/share/dump1090
This commit is contained in:
Oliver Jowett 2014-12-05 21:36:02 +00:00
parent 0ae1d72e83
commit 35a382e3ce
2 changed files with 3 additions and 1 deletions

View file

@ -1,3 +1,3 @@
dump1090 usr/bin dump1090 usr/bin
view1090 usr/bin view1090 usr/bin
public_html/* usr/share/dump1090 public_html/* usr/share/dump1090-mr

2
debian/rules vendored
View file

@ -14,5 +14,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1 DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk include /usr/share/dpkg/buildflags.mk
override_dh_auto_build:
dh_auto_build -- 'EXTRACFLAGS=-DHTMLPATH=\"/usr/share/dump1090-mr\"'
%: %:
dh $@ dh $@