From 6832f63afb9530525b104846c72f8edec0dd02c0 Mon Sep 17 00:00:00 2001
From: Joe Neeman <joeneeman@gmail.com>
Date: Fri, 6 Jun 2008 10:03:50 +1000
Subject: [PATCH] Clean the snippets when running "make test-clean"

---
 GNUmakefile.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/GNUmakefile.in b/GNUmakefile.in
index 6da515c15d..0cd13623ca 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -217,7 +217,7 @@ test-baseline:
 	$(MAKE) test
 	$(MAKE) out=test -C input/regression/ local-test-baseline
 	$(MAKE) out=test -C input/regression/musicxml local-test-baseline
-	rm -rf out/lybook-testdb/
+	$(MAKE) test-snippets-clean
 
 
 local-check: test
@@ -234,8 +234,11 @@ test-redo:
 	done
 	$(MAKE) check
 
-test-clean: snippets-clean
+test-clean: test-snippets-clean
 	$(MAKE) -C input/regression/ out=test clean
 
 snippets-clean:
 	rm -rf out/lybook-db
+
+test-snippets-clean:
+	rm -rf out/lybook-testdb
-- 
2.39.5