From 6186b07659277c3dd6745a8991bd00f77df39675 Mon Sep 17 00:00:00 2001
From: j8takagi <j8takagi@nifty.com>
Date: Sat, 18 Aug 2018 16:53:36 +0900
Subject: [PATCH] =?utf8?q?make=20smoke-valgrind=E3=82=92=E8=BF=BD=E5=8A=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

---
 Makefile             | 5 ++++-
 test/system/Makefile | 3 +++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index df6cab7..e88b56f 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ CMDFILES := casl2 comet2 dumpword casl2rev comet2monitor
 
 all: build INSTALL gtags
 
-build:
+build: version
 	$(MAKE) -C src all
 	@(for f in $(CMDFILES); do if test ! -e $$f -o src/$$f -nt $$f; then $(CP) src/$$f $$f; fi; done)
 
@@ -63,6 +63,9 @@ check:
 smoke:
 	$(MAKE) -sC test/system smoke
 
+smoke-valgrind:
+	$(MAKE) -sC test/system smoke-valgrind
+
 valgrind:
 	$(MAKE) -sC test/system valgrind
 
diff --git a/test/system/Makefile b/test/system/Makefile
index 833b8fe..fe87d96 100644
--- a/test/system/Makefile
+++ b/test/system/Makefile
@@ -12,6 +12,9 @@ check:
 smoke:
 	$(MAKE) -sC casl2_smoke check
 
+smoke-valgrind:
+	$(MAKE) -sC casl2_smoke valgrind
+
 valgrind:
 	@$(call make_dirs,$(CMD),$@; )
 
-- 
2.18.0