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