From 35a382e3ce50e91781cc9ae75b2481c2c8ff1b9b Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Fri, 5 Dec 2014 21:36:02 +0000 Subject: [PATCH] Set HTMLPATH correctly when compiling. Put static files in /usr/share/dump1090-mr not /usr/share/dump1090 --- debian/dump1090-mr.install | 2 +- debian/rules | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/dump1090-mr.install b/debian/dump1090-mr.install index a851311..6ca26a8 100644 --- a/debian/dump1090-mr.install +++ b/debian/dump1090-mr.install @@ -1,3 +1,3 @@ dump1090 usr/bin view1090 usr/bin -public_html/* usr/share/dump1090 +public_html/* usr/share/dump1090-mr diff --git a/debian/rules b/debian/rules index 9430a63..251ca29 100755 --- a/debian/rules +++ b/debian/rules @@ -14,5 +14,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk +override_dh_auto_build: + dh_auto_build -- 'EXTRACFLAGS=-DHTMLPATH=\"/usr/share/dump1090-mr\"' %: dh $@