[PATCH 09/14] lib: Use database features to drive upgrade
[notmuch-archives.git] / 6f / 2486884b824578d31b2ede3e3832a000993eb5
1 Return-Path: <bremner@tethera.net>\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 3F992431FD0\r
6         for <notmuch@notmuchmail.org>; Wed, 19 Mar 2014 17:48:26 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\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 mcF7DWlq7Y85 for <notmuch@notmuchmail.org>;\r
16         Wed, 19 Mar 2014 17:48:21 -0700 (PDT)\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
18         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 7B099431FAF\r
21         for <notmuch@notmuchmail.org>; Wed, 19 Mar 2014 17:48:21 -0700 (PDT)\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
23         (envelope-from <bremner@tethera.net>)\r
24         id 1WQR9f-0000HZ-3n; Wed, 19 Mar 2014 21:48:19 -0300\r
25 Received: (nullmailer pid 22557 invoked by uid 1000); Thu, 20 Mar 2014\r
26         00:48:12 -0000\r
27 From: David Bremner <david@tethera.net>\r
28 To: notmuch@notmuchmail.org\r
29 Subject: [PATCH 3/3] test: use $(srcdir) instead of . as include path\r
30 Date: Wed, 19 Mar 2014 21:48:04 -0300\r
31 Message-Id: <1395276484-22363-4-git-send-email-david@tethera.net>\r
32 X-Mailer: git-send-email 1.9.0\r
33 In-Reply-To: <1395276484-22363-1-git-send-email-david@tethera.net>\r
34 References: <1395276484-22363-1-git-send-email-david@tethera.net>\r
35 X-BeenThere: notmuch@notmuchmail.org\r
36 X-Mailman-Version: 2.1.13\r
37 Precedence: list\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: Thu, 20 Mar 2014 00:48:26 -0000\r
48 \r
49 This is needed for out of tree builds. The functional change is the\r
50 modification of extra_cflags; the other changes are cosmetic.\r
51 ---\r
52  test/Makefile.local | 6 +++---\r
53  1 file changed, 3 insertions(+), 3 deletions(-)\r
54 \r
55 diff --git a/test/Makefile.local b/test/Makefile.local\r
56 index 36b1c1b..ae9db80 100644\r
57 --- a/test/Makefile.local\r
58 +++ b/test/Makefile.local\r
59 @@ -4,7 +4,7 @@ dir := test\r
60  \r
61  # save against changes in $(dir)\r
62  test_src_dir := $(dir)\r
63 -extra_cflags += -I.\r
64 +extra_cflags += -I$(srcdir)\r
65  \r
66  smtp_dummy_srcs =              \\r
67         $(notmuch_compat_srcs)  \\r
68 @@ -13,10 +13,10 @@ smtp_dummy_srcs =           \\r
69  smtp_dummy_modules = $(smtp_dummy_srcs:.c=.o)\r
70  \r
71  $(dir)/arg-test: $(dir)/arg-test.o command-line-arguments.o util/libutil.a\r
72 -       $(call quiet,CC) -I. $^ -o $@\r
73 +       $(call quiet,CC) $^ -o $@\r
74  \r
75  $(dir)/hex-xcode: $(dir)/hex-xcode.o command-line-arguments.o util/libutil.a\r
76 -       $(call quiet,CC) -I. $^ -o $@ -ltalloc\r
77 +       $(call quiet,CC) $^ -o $@ -ltalloc\r
78  \r
79  random_corpus_deps =  $(dir)/random-corpus.o  $(dir)/database-test.o \\r
80                         notmuch-config.o command-line-arguments.o \\r
81 -- \r
82 1.9.0\r
83 \r