Created
November 22, 2021 17:32
-
-
Save miketheman/ef3b021d49a09b609fc39bf86757cdf9 to your computer and use it in GitHub Desktop.
Makefile with targets to generate static renderings from PlantUML sources
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DIAGRAMS := $(wildcard *.puml */*puml) | |
SVGS := $(DIAGRAMS:.puml=.svg) | |
PNGS := $(DIAGRAMS:.puml=.png) | |
all: $(SVGS) $(PNGS) | |
%.png: %.puml | |
plantuml -tpng "$<" | |
%.svg: %.puml | |
plantuml -tsvg "$<" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment