simplify/improve demo themes builder
This commit is contained in:
parent
b338ea5da0
commit
755da3d131
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -31,6 +31,7 @@ SVGS = $(shell ./d2 themes | gawk -F':' '/^-/{ printf "$(SVGDIR)/themex-%03d.svg
|
|||
.PHONY: clean
|
||||
clean:
|
||||
rm -f $(SVGS) d2
|
||||
rmdir $(SVGDIR)
|
||||
|
||||
.PHONY: themesdemo
|
||||
themesdemo: $(SVGS) d2
|
||||
|
|
@ -39,4 +40,4 @@ $(SVGDIR)/themex-%.svg: testdata/examples/themex.d2
|
|||
$(info Building $@ from $< ...)
|
||||
./d2 -t $$(( 10#$* )) $< $@
|
||||
|
||||
# d2: build
|
||||
d2: build
|
||||
|
|
|
|||
Loading…
Reference in a new issue