mirror of
https://seed.radicle.dev/rad:zwTxygwuz5LDGBq255RA2CbNGrz8.git
synced 2026-11-04 03:10:30 +08:00
This removes the need to update them manually. Now they'll always be up to date. Signed-off-by: Lars Wirzenius <liw@liw.fi>
29 lines
583 B
Makefile
29 lines
583 B
Makefile
.SUFFIXES: .uml .svg .dot .pik .md .html .subplot
|
|
|
|
.subplot.html:
|
|
subplot docgen --date "Version: $$(git describe --long --dirty)" $< -o $@
|
|
|
|
.dot.svg:
|
|
dot -Tsvg $< > $@.tmp
|
|
mv $@.tmp $@
|
|
|
|
.uml.svg:
|
|
plantuml -tsvg --output=. $<
|
|
|
|
.pik.svg:
|
|
pikchr-cli $< > $@.tmp
|
|
mv $@.tmp $@
|
|
|
|
all: architecture.html userguide.html
|
|
|
|
publish: all
|
|
bash publish.sh
|
|
|
|
architecture.html: architecture.subplot architecture.md Makefile messages.md
|
|
|
|
messages.md: messages.sh messages.txt
|
|
./messages.sh > messages.md
|
|
|
|
userguide.html: userguide.subplot userguide.md Makefile
|
|
subplot docgen $< --output $@
|