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
commitc0726a7b84a95e39c9d2f1939b7daf76afe0275b (patch)
tree4f139aa465bece37bd056c341934289e22b6c0b9
parentAdd explore.html (diff)
downloadtorus-c0726a7b84a95e39c9d2f1939b7daf76afe0275b.tar.gz
torus-c0726a7b84a95e39c9d2f1939b7daf76afe0275b.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