summaryrefslogtreecommitdiff
path: root/jordan.im/w/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'jordan.im/w/Makefile')
-rw-r--r--jordan.im/w/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/jordan.im/w/Makefile b/jordan.im/w/Makefile
new file mode 100644
index 0000000..03d0516
--- /dev/null
+++ b/jordan.im/w/Makefile
@@ -0,0 +1,14 @@
+WEBROOT = /var/www/jordan.im
+
+FILES = index.html style.css
+
+all: ${FILES}
+
+index.html: index.7
+ mandoc -T html -O style=../style.css index.7 > index.html
+
+install: ${FILES}
+ install -c -m 644 ${FILES} ${WEBROOT}
+
+clean:
+ rm -f index.html