1 Return-Path: <bremner@tesseract.cs.unb.ca>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 6FCFA429E45
\r
6 for <notmuch@notmuchmail.org>; Sat, 3 May 2014 23:12:22 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id m+zmkv2kZyYX for <notmuch@notmuchmail.org>;
\r
16 Sat, 3 May 2014 23:12:17 -0700 (PDT)
\r
17 Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net
\r
18 [87.98.215.224]) (using TLSv1 with cipher AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 39DBF429E37
\r
21 for <notmuch@notmuchmail.org>; Sat, 3 May 2014 23:12:16 -0700 (PDT)
\r
22 Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim
\r
23 4.72) (envelope-from <bremner@tesseract.cs.unb.ca>)
\r
24 id 1WgpeA-0005h8-I5; Sun, 04 May 2014 06:11:34 +0000
\r
25 Received: (nullmailer pid 25097 invoked by uid 1000); Sun, 04 May 2014
\r
27 From: David Bremner <david@tethera.net>
\r
28 To: notmuch@notmuchmail.org
\r
29 Subject: [PATCH 3/3] build: add dataclean
\r
30 Date: Sun, 4 May 2014 15:10:49 +0900
\r
31 Message-Id: <1399183849-25032-3-git-send-email-david@tethera.net>
\r
32 X-Mailer: git-send-email 1.9.2
\r
33 In-Reply-To: <1399183849-25032-1-git-send-email-david@tethera.net>
\r
34 References: <1399183849-25032-1-git-send-email-david@tethera.net>
\r
35 X-BeenThere: notmuch@notmuchmail.org
\r
36 X-Mailman-Version: 2.1.13
\r
38 List-Id: "Use and development of the notmuch mail system."
\r
39 <notmuch.notmuchmail.org>
\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
41 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
43 List-Post: <mailto:notmuch@notmuchmail.org>
\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
46 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
47 X-List-Received-Date: Sun, 04 May 2014 06:12:22 -0000
\r
49 It turns out to be inconvenient to delete the downloaded datafiles with
\r
50 distclean, so I propose a new target which does that instead.
\r
52 The closest conventional target is 'maintainer-clean'; the difference
\r
53 here is that having the original source tarball is not enough to
\r
54 reconstruct these files.
\r
56 Makefile.local | 4 ++++
\r
57 performance-test/Makefile.local | 1 +
\r
58 test/test-databases/Makefile.local | 2 +-
\r
59 3 files changed, 6 insertions(+), 1 deletion(-)
\r
61 diff --git a/Makefile.local b/Makefile.local
\r
62 index b46917b..97b582d 100644
\r
63 --- a/Makefile.local
\r
64 +++ b/Makefile.local
\r
65 @@ -261,6 +261,10 @@ clean:
\r
70 +dataclean: distclean
\r
71 + rm -rf $(DATACLEAN)
\r
73 notmuch_client_srcs = \
\r
74 command-line-arguments.c\
\r
76 diff --git a/performance-test/Makefile.local b/performance-test/Makefile.local
\r
77 index cbea2d3..3469aa3 100644
\r
78 --- a/performance-test/Makefile.local
\r
79 +++ b/performance-test/Makefile.local
\r
80 @@ -41,3 +41,4 @@ download-corpus:
\r
82 CLEAN := $(CLEAN) $(dir)/tmp.* $(dir)/log.*
\r
83 DISTCLEAN := $(DISTCLEAN) $(dir)/corpus $(dir)/notmuch.cache.*
\r
84 +DATACLEAN := $(DATACLEAN) $(TXZFILE)
\r
85 diff --git a/test/test-databases/Makefile.local b/test/test-databases/Makefile.local
\r
86 index 0572e78..ff333a1 100644
\r
87 --- a/test/test-databases/Makefile.local
\r
88 +++ b/test/test-databases/Makefile.local
\r
89 @@ -11,4 +11,4 @@ test_databases := $(dir)/database-v1.tar.xz
\r
91 download-test-databases: ${test_databases}
\r
93 -DISTCLEAN := $(DISTCLEAN) ${test_databases}
\r
94 +DATACLEAN := $(DATACLEAN) ${test_databases}
\r