summary refs log tree commit diff
path: root/www/git.causal.agency/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--www/git.causal.agency/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/git.causal.agency/Makefile b/www/git.causal.agency/Makefile
new file mode 100644
index 00000000..28e08ba5
--- /dev/null
+++ b/www/git.causal.agency/Makefile
@@ -0,0 +1,18 @@
+ETC = /usr/local/etc
+WWW = /usr/local/www/cgit
+LIBEXEC = /usr/local/libexec
+
+BIN = ../../bin
+BINS = about-filter source-filter hi
+
+install: cgitrc custom.css ${BINS}
+	install -m 644 cgitrc ${ETC}
+	install -m 644 custom.css ${WWW}
+	install ${BINS} ${LIBEXEC}
+
+hi: ${BIN}/hi.c
+	${MAKE} -C ${BIN} $@
+	cp ${BIN}/$@ $@
+
+clean:
+	rm -f ${BINS}