summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 138ad48..9769fe5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+version = $(shell git describe --tags HEAD)
+
.SUFFIXES: .html .mdwn .pdf .dot .svg
all: ci-arch.html ci-arch.pdf
@@ -12,6 +14,7 @@ ci-arch.pdf ci-arch.html: ci-arch.mdwn ecosystem.svg pipeline.svg
.mdwn.pdf:
pandoc --toc -f markdown+implicit_figures -Vdocumentclass:report \
+ "-Vdate:$(version)" \
-Vfontsize:12pt \
-Vmainfont:FreeSerif \
-Vsansfont:FreeSans \