mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-03 19:53:40 +00:00
This is mainly useful for syntax checking rather than to produce good-quality output. It assumes that pandoc is installed. Signed-off-by: Daira Hopwood <daira@jacaranda.org>
10 lines
256 B
Makefile
10 lines
256 B
Makefile
.PHONY: all
|
|
all:
|
|
find src -type f -a -name '*.md' |sed 's/[.]md$$/.html/g' |xargs $(MAKE)
|
|
|
|
clean:
|
|
find src -type f -a -name '*.html' -print0 |xargs -0 rm
|
|
|
|
%.html: %.md
|
|
pandoc --katex --from=markdown --to=html "$<" "--output=$@"
|
|
./edithtml.sh "$@" "$<"
|