Thumbnail

mod/u.buni.party.git

Clone URL: https://git.buni.party/mod/u.buni.party.git

Viewing file on branch master

1BUILDDIR=../..
2DPP?= dpp
3
4SRC= index.html \
5 services/index.html \
6 users/index.html \
7 cgi-bin/users \
8 docs/index.html \
9 docs/git/index.html \
10 docs/sites/index.html
11
12TEMPLATE=template/bar.html \
13 template/foot.html \
14 template/head.html \
15 template/redirect.html
16
17EXEC= cgi-bin/users
18
19OUT= ${SRC:%=${BUILDDIR}/%}
20
21
22all: after
23
24after: ${OUT}
25 chmod +x ${BUILDDIR}/${EXEC}
26
27${BUILDDIR}/%: % ${TEMPLATE}
28 @mkdir -p ${@D}
29 DPP_BLOCK='!!' ${DPP} <$< >$@
30
31.PHONY: all
32