my-games/Makefile

16 lines
404 B
Makefile
Raw Normal View History

2023-11-04 14:41:27 +00:00
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