mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-10 05:39:31 +03:00
4013a81af8
git-subtree-dir: doc/haskellerz git-subtree-mainline:684af10643
git-subtree-split:79beb34b90
23 lines
313 B
Makefile
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
|