Files
radicle-ci-broker/doc/Makefile
T
Lars Wirzenius b199175ac0 doc: generate sample adapter messages with code
This removes the need to update them manually. Now they'll always be
up to date.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2024-11-13 09:47:26 +02:00

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 $@