16 lines
404 B
Makefile
16 lines
404 B
Makefile
|
SRCDIR := .
|
||
|
|
||
|
include Targets
|
||
|
|
||
|
all: $(TARGETS)
|
||
|
|
||
|
$(TARGETS):
|
||
|
- mkdir -p build/$@
|
||
|
- cp src/$@/*.jpg build/$@/
|
||
|
- cp src/$@/*.png build/$@/
|
||
|
pandoc ./src/$@/$@.md --toc --toc-depth=1 -o build/$@/index.html --standalone
|
||
|
# iconv -t utf-8 ./src/$@/$@.md | pandoc --toc --toc-depth=1 --pdf-engine=xelatex -V 'mainfont:American Typewriter' -o build/$@.pdf --standalone | iconv -f utf-16
|
||
|
|
||
|
clean:
|
||
|
- rm -rf build
|