version = $(shell git describe --dirty --tags) .SUFFIXES: .html .mdwn .md .pdf .dot .svg .uml 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)" \ -Vfontsize:12pt \ -Vmainfont:FreeSerif \ -Vsansfont:FreeSans \ -Vmonofont:FreeMonoBold \ -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 $@ $<