Thumbnail

rani/buni.party.git

Clone URL: https://git.buni.party/rani/buni.party.git

Viewing file on branch master

1BUILDDIR=../site
2DPP?= dpp
3
4SRC= index.html \
5 error/404.html \
6 blog/index.html \
7 blog/paragon/index.html
8
9TEMPLATE=template/bar.html \
10 template/foot.html \
11 template/head.html \
12 template/readtime.html
13
14OUT= ${SRC:%=${BUILDDIR}/%}
15
16
17all: ${OUT}
18
19${BUILDDIR}/%: % ${TEMPLATE}
20 @mkdir -p ${@D}
21 DPP_LEVEL=0 DPP_BLOCK='!!' ${DPP} $< <$< >$@
22
23.PHONY: all
24