summary refs log tree commit diff
path: root/www/git.causal.agency/Makefile
blob: bba51f406bff119c6499c7dfecf0a1f7d9d43459 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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} $@
	cp ${BIN}/$@ $@

ttpre: ${BIN}/ttpre.c

hi: ${BIN}/hi.c

clean:
	rm -f ${BINS}