2024-08-25 00:52:32 +02:00
|
|
|
OUT_DIR=out
|
|
|
|
|
|
|
|
$(OUT_DIR)/hamnet70.html: hamnet70.adoc
|
|
|
|
mkdir -p $(OUT_DIR)
|
|
|
|
asciidoctor -D $(OUT_DIR) -r asciidoctor-diagram $<
|
2024-08-28 13:42:33 +02:00
|
|
|
@# Use local files to prevent privacy issues
|
|
|
|
cp -a ext/* $(OUT_DIR)
|
|
|
|
sed -i 's!src="[^"]*mathjax/[^/]*/!src="mathjax-2.7.9/!' $@
|
2024-08-25 01:14:28 +02:00
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -r $(OUT_DIR)
|