From 755da3d1310cd65ccd2abd4b9367406f1c51018a Mon Sep 17 00:00:00 2001 From: ppenguin Date: Wed, 2 Apr 2025 21:07:29 +0200 Subject: [PATCH] simplify/improve demo themes builder --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8e2bdda2d..94e0dfe50 100644 --- a/Makefile +++ b/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