summary refs log tree commit diff
path: root/www/git.causal.agency/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-12-18 21:40:50 -0500
committerJune McEnroe <june@causal.agency>2019-12-18 21:40:50 -0500
commit480a5024344b5e5b3562c3d663206fc372235510 (patch)
treeeb8223bc6877988d26fb9d42f3246271d867f797 /www/git.causal.agency/Makefile
parentBail from hi if input is binary (diff)
downloadsrc-480a5024344b5e5b3562c3d663206fc372235510.tar.gz
src-480a5024344b5e5b3562c3d663206fc372235510.zip
Add git.causal.agency cgit config
Diffstat (limited to 'www/git.causal.agency/Makefile')
-rw-r--r--www/git.causal.agency/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/www/git.causal.agency/Makefile b/www/git.causal.agency/Makefile
new file mode 100644
index 00000000..5e8d7bf4
--- /dev/null
+++ b/www/git.causal.agency/Makefile
@@ -0,0 +1,21 @@
+ETC = /usr/local/etc
+WWW = /usr/local/www/cgit
+LIBEXEC = /usr/local/libexec
+
+BIN = ../../bin
+BINS = source-filter ttpre hi
+
+install: cgitrc custom.css ${BINS}
+	install -m 644 cgitrc ${ETC}
+	install -m 644 custom.css ${WWW}
+	install ${BINS} ${LIBEXEC}
+
+ttpre hi:
+	${MAKE} -C ${BIN} $@
+
+ttpre: ${BIN}/ttpre.c
+
+hi: ${BIN}/hi.c
+
+clean:
+	rm -f ${BINS}