Files
2026-10-20 16:14:31 +03:00

38 lines
1.2 KiB
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 overview.html filter-impl.html adapter-impl.html whatci.html
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 $@
overview.html: overview.md Makefile components.svg
pandoc --standalone --metadata title="Radicle CI overview" "$<" --output "$@" --from markdown+implicit_figures
filter-impl.html: filter-impl.md Makefile
pandoc --standalone --metadata title="Radicle CI event filter implementation" "$<" --output "$@"
adapter-impl.html: adapter-impl.md Makefile
pandoc --standalone --metadata title="Radicle CI adapter implementation" "$<" --output "$@"
whatci.html: whatci.md Makefile
pandoc --standalone --metadata title="What is CI in Radicle" "$<" --output "$@" --toc