ITS#7841 trivial cleanup
authorLeo Yuriev <leo@yuriev.ru>
Thu, 4 Sep 2014 20:19:16 +0000 (00:19 +0400)
committerHoward Chu <hyc@symas.com>
Thu, 2 Oct 2014 22:43:57 +0000 (23:43 +0100)
TRIVIA - lmdb: clean testdb-dir while "make test".

libraries/liblmdb/Makefile

index 97b5717..5f8ef64 100644 (file)
@@ -44,7 +44,7 @@ clean:
        rm -rf $(PROGS) *.[ao] *.so *~ testdb
 
 test:  all
-       mkdir testdb
+       rm -rf testdb && mkdir testdb
        ./mtest && ./mdb_stat testdb
 
 liblmdb.a:     mdb.o midl.o