mirror of
https://seed.radicle.dev/rad:zwTxygwuz5LDGBq255RA2CbNGrz8.git
synced 2026-10-30 17:00:49 +08:00
Makefiles are an extra layer of escaping that doesn't help. Signed-off-by: Lars Wirzenius <liw@liw.fi>
23 lines
462 B
Makefile
23 lines
462 B
Makefile
.SUFFIXES: .uml .svg .dot .pik .md .html
|
|
|
|
.md.html:
|
|
pandoc -V date="Version: $$(git describe --long --dirty --all)" --toc --number-sections --standalone --self-contained $< -o $@
|
|
|
|
.dot.svg:
|
|
dot -Tsvg $< > $@.tmp
|
|
mv $@.tmp $@
|
|
|
|
.uml.svg:
|
|
plantuml -tsvg --output=. $<
|
|
|
|
.pik.svg:
|
|
pikchr-cli $< > $@.tmp
|
|
mv $@.tmp $@
|
|
|
|
all: architecture.html
|
|
|
|
publish: all
|
|
bash publish.sh
|
|
|
|
architecture.html: architecture.svg architecture-ext.svg comp.svg comp-ext.svg Makefile
|