hamnet70/doc/Makefile
Your Name 9705e681f9
All checks were successful
/ build-hamnet70 (push) Successful in 28s
/ build-doc (push) Successful in 17s
/ deploy-doc (push) Has been skipped
doc: don't load external resources
2024-08-28 13:01:58 +02:00

13 lines
323 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-tex-mml-am-html-or-mml.js"!' $@
.PHONY: clean
clean:
rm -r $(OUT_DIR)