doc: write generated files to separate directory
This commit is contained in:
parent
c52d0766d7
commit
9d86bc3c97
4
doc/.gitignore
vendored
4
doc/.gitignore
vendored
|
@ -1,3 +1 @@
|
||||||
*.html
|
out/
|
||||||
*.pdf
|
|
||||||
diag-mermaid-*
|
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
hamnet70.html: hamnet70.adoc
|
OUT_DIR=out
|
||||||
asciidoctor -r asciidoctor-diagram $<
|
|
||||||
|
$(OUT_DIR)/hamnet70.html: hamnet70.adoc
|
||||||
|
mkdir -p $(OUT_DIR)
|
||||||
|
asciidoctor -D $(OUT_DIR) -r asciidoctor-diagram $<
|
||||||
|
|
Loading…
Reference in a new issue