summary refs log tree commit diff
path: root/www/git.causal.agency/Makefile
blob: 8b87920f04382a254ee5d7d1fabef6a282c6b97b (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 = about-filter 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}