]> git.cworth.org Git - notmuch/commitdiff
perf: Clean corpus and caches in distclean, not clean
authorAustin Clements <amdragon@MIT.EDU>
Tue, 22 Oct 2013 00:55:38 +0000 (20:55 -0400)
committerDavid Bremner <bremner@debian.org>
Sat, 26 Oct 2013 00:24:43 +0000 (21:24 -0300)
Previously, we cleaned the downloaded performance corpus and the
cached indexes on 'make clean'.  This seems heavy-handed, since these
take a long time to download, unpack, and index.  They also aren't
make targets to begin with.  Move cleaning these to 'make distclean'.
This isn't exactly the right meaning of "distclean", but it's closer.

performance-test/Makefile.local

index e47219ad275f93c613de5b6d9e5d35dab36c3e57..d97e56d91a121cf2ad650bb16d61fa44926c819a 100644 (file)
@@ -39,4 +39,5 @@ $(TXZFILE):
 download-corpus:
        wget -O ${TXZFILE} ${DEFAULT_URL}
 
-CLEAN := $(CLEAN) $(dir)/tmp.* $(dir)/log.* $(dir)/corpus $(dir)/notmuch.cache.*
+CLEAN := $(CLEAN) $(dir)/tmp.* $(dir)/log.*
+DISTCLEAN := $(dir)/corpus $(dir)/notmuch.cache.*