summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLars Wirzenius <lwirzenius@wikimedia.org>2019-06-30 19:27:34 +0300
committerLars Wirzenius <lwirzenius@wikimedia.org>2019-06-30 19:27:34 +0300
commitc639e5b36d688953393d7e801204193e11515cde (patch)
tree1e3f708a8d19206759dafd5f38d089bfb37f23ad /Makefile
parent008943cd6dd10ef1d5dd83a8f5d724658f6a00ad (diff)
downloadwmf-ci-arch-c639e5b36d688953393d7e801204193e11515cde.tar.gz
Add: document CI-around-GitLab, first iteration
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 19 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a35b869..3bb09b4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,25 @@
version = $(shell git describe --dirty --tags)
-.SUFFIXES: .html .mdwn .pdf .dot .svg
+.SUFFIXES: .html .mdwn .md .pdf .dot .svg .uml
-all: ci-arch.html ci-arch.pdf
+all: ci-arch.html ci-arch.pdf gitlab.pdf
ci-arch.pdf ci-arch.html: ci-arch.mdwn ecosystem.svg pipeline.svg arch.svg
+gitlab.pdf: gitlab.md component.svg buildseq.svg
+
.dot.svg:
dot -Tsvg -o$@ $<
+.uml.svg:
+ plantuml -tsvg $<
+
.mdwn.html:
pandoc --standalone --toc -o $@ $<
+.md.html:
+ pandoc --standalone --toc -o $@ $<
+
.mdwn.pdf:
pandoc --toc -f markdown+implicit_figures -Vdocumentclass:report \
"-Vdate:$(version)" \
@@ -22,4 +30,12 @@ ci-arch.pdf ci-arch.html: ci-arch.mdwn ecosystem.svg pipeline.svg arch.svg
-Vgeometry:top=2cm,bottom=2.5cm,left=5cm,right=2cm \
-o $@ $<
-
+.md.pdf:
+ pandoc --toc -f markdown+implicit_figures \
+ "-Vdate:$(version)" \
+ -Vfontsize:12pt \
+ -Vmainfont:FreeSerif \
+ -Vsansfont:FreeSans \
+ -Vmonofont:FreeMonoBold \
+ -Vgeometry:top=2cm,bottom=2.5cm,left=5cm,right=2cm \
+ -o $@ $<