From a37addb72630bf39cac118dbcc8aa60c36949563 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Wed, 30 Sep 2020 21:33:55 -0700 Subject: [PATCH] allow the test to configure which diagram to dump --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3d90853..a98ff99 100644 --- a/Makefile +++ b/Makefile @@ -8,5 +8,6 @@ .diag.html: (cat $<; echo; echo '') > $@ -diagtest: - ls box.sh diag.getxt Makefile | entr sh -c 'make diag.diag && cat diag.diag' +DIAG?=diag +test: + ls box.sh $(DIAG).getxt Makefile | entr sh -c 'make $(DIAG).diag && cat $(DIAG).diag'