hledger/doc/haskellerz/Makefile
Simon Michael 4013a81af8 Add 'doc/haskellerz/' from commit '79beb34b900b5d35b065e145d6200d227de16945'
git-subtree-dir: doc/haskellerz
git-subtree-mainline: 684af10643
git-subtree-split: 79beb34b90
2021-04-30 13:03:44 -10:00

23 lines
313 B
Makefile

SLUG=haskellerz
TYPES=\
slidy \
revealjs \
# dzslides \
# s5 \
# slideous \
default: build open watch
open:
open *.html
build:
for T in $(TYPES); do pandoc --slide-level=2 -s -t $$T $(SLUG).md -o $(SLUG).$$T.html; done
watch:
ls *.md | entr bash -c 'make -s build && date'
clean:
rm -f $(SLUG).*.html