hamnet70/doc/Makefile
Your Name 658c469bf6
Some checks failed
/ build-doc (push) Successful in 15s
/ deploy-doc (push) Waiting to run
/ build-hamnet70 (push) Has been cancelled
doc: don't use external resources
Embedding (only) parts of MathJax is a bit ugly ...
2024-08-28 13:41:36 +02:00

13 lines
298 B
Makefile

OUT_DIR=out
$(OUT_DIR)/hamnet70.html: hamnet70.adoc
mkdir -p $(OUT_DIR)
asciidoctor -D $(OUT_DIR) -r asciidoctor-diagram $<
@# Use local files to prevent privacy issues
cp -a ext/* $(OUT_DIR)
sed -i 's!src="[^"]*mathjax/[^/]*/!src="mathjax-2.7.9/!' $@
.PHONY: clean
clean:
rm -r $(OUT_DIR)