about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-06 17:36:05 -0500
committerJune McEnroe <june@causal.agency>2019-01-06 17:36:05 -0500
commit03ad742efd747bf980254a1e34b731d8f7b5370a (patch)
tree0ed984f3c84d6b42d8f8a4fa8b1c5b6399736545
parentAdd explore.html (diff)
downloadtorus-03ad742efd747bf980254a1e34b731d8f7b5370a.tar.gz
torus-03ad742efd747bf980254a1e34b731d8f7b5370a.zip
Install html files
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 72959ff..342e292 100644
--- a/Makefile
+++ b/Makefile
@@ -41,10 +41,14 @@ chroot.tar: client image server default8x16.psfu
 	install -m 644 default8x16.psfu root/usr/share/torus
 	tar -cf chroot.tar -C root bin home usr var
 
-install: chroot.tar rc.kfcgi rc.torus
+install: chroot.tar rc.kfcgi rc.torus explore.html index.html
 	tar -xf chroot.tar -C /home/$(CHROOT_USER)
 	install rc.kfcgi /usr/local/etc/rc.d/kfcgi
 	install rc.torus /usr/local/etc/rc.d/torus
+	install -o $(CHROOT_USER) -g $(CHROOT_GROUP) -m 644 \
+		explore.html \
+		index.html \
+		/usr/local/www/ascii.town
 
 clean:
 	rm -fr $(OBJS) $(BINS) tags root chroot.tar