diff --git a/debian/rules b/debian/rules
index 528eedfa18874ae8bbf7a849732149de97451800..56d20c0dafe794cbfe8cc90a3694c397d09e7c03 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,6 +25,7 @@ SVCDIR = $(DESTDIR)/etc/svc
 	dh $@ 
 
 override_dh_install:
+	# Build the binary
 	install -m 755 -o root -g root -d $(DESTDIR)/usr/bin
 	(tmpdir=$$(mktemp -d) ; \
 	 export GOPATH=$$tmpdir ; unset GOBIN ; \
@@ -37,14 +38,25 @@ override_dh_install:
 	 done ; \
 	 rm -fr $$tmpdir)
 
-	install -d -m 755 -o root -g root $(SVCDIR)
+	# Install the static files and templates for the HTTP dashboard.
 	install -d -m 755 -o root -g root $(DESTDIR)/usr/share/radioai
-	install -m 644 -o root -g root debian/services/lib.sh \
+	install -d -m 755 -o root -g root $(DESTDIR)/usr/share/radioai/htdocs/static
+	(for f in $(CURDIR)/fe/static/* ; do \
+	  install -o root -g root -m 644 $$f $(DESTDIR)/usr/share/radioai/htdocs/static/ ; \
+	 done)
+	install -d -m 755 -o root -g root $(DESTDIR)/usr/share/radioai/htdocs/templates
+	(for f in $(CURDIR)/fe/templates/*.html ; do \
+	  install -o root -g root -m 644 $$f $(DESTDIR)/usr/share/radioai/htdocs/templates/ ; \
+	 done)
+
+	# Install runit service runners.
+	install -d -m 755 -o root -g root $(SVCDIR)
+	install -m 644 -o root -g root $(CURDIR)/debian/services/lib.sh \
 		$(DESTDIR)/usr/share/radioai/lib.sh
 	(for f in radiod redirectord ; do \
 	  install -d -o root -g root $(SVCDIR)/$$f ; \
 	  install -d -o root -g root $(SVCDIR)/$$f/log ; \
-	  install -m 755 -o root -g root debian/services/$$f \
+	  install -m 755 -o root -g root $(CURDIR)/debian/services/$$f \
 		$(SVCDIR)/$$f/run ; \
 	  echo -e '#!/bin/sh\nexec chpst -u log svlogd -tt /var/log/radioai/'$$f > \
 		$(SVCDIR)/$$f/log/run ; \