1 Return-Path: <tomi.ollila@iki.fi>
\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 15E4C431FC2
\r
6 for <notmuch@notmuchmail.org>; Tue, 19 Nov 2013 02:43:43 -0800 (PST)
\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 Y3-vCLS7A0yK for <notmuch@notmuchmail.org>;
\r
16 Tue, 19 Nov 2013 02:43:35 -0800 (PST)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 922E5431FBC
\r
19 for <notmuch@notmuchmail.org>; Tue, 19 Nov 2013 02:43:35 -0800 (PST)
\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])
\r
21 by guru.guru-group.fi (Postfix) with ESMTP id D5B92100030;
\r
22 Tue, 19 Nov 2013 12:43:25 +0200 (EET)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: Tomi Valkeinen <tomi.valkeinen@iki.fi>, notmuch@notmuchmail.org
\r
25 Subject: Re: [PATCH 1/2] fix compilation without emacs
\r
26 In-Reply-To: <1384837831-9206-1-git-send-email-tomi.valkeinen@iki.fi>
\r
27 References: <1384837831-9206-1-git-send-email-tomi.valkeinen@iki.fi>
\r
28 User-Agent: Notmuch/0.16+175~g19e97d6 (http://notmuchmail.org) Emacs/24.3.1
\r
29 (x86_64-unknown-linux-gnu)
\r
30 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
31 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
32 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
33 Date: Tue, 19 Nov 2013 12:43:25 +0200
\r
34 Message-ID: <m2fvqsn036.fsf@guru.guru-group.fi>
\r
36 Content-Type: text/plain
\r
37 X-BeenThere: notmuch@notmuchmail.org
\r
38 X-Mailman-Version: 2.1.13
\r
40 List-Id: "Use and development of the notmuch mail system."
\r
41 <notmuch.notmuchmail.org>
\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
43 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
45 List-Post: <mailto:notmuch@notmuchmail.org>
\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
49 X-List-Received-Date: Tue, 19 Nov 2013 10:43:43 -0000
\r
51 On Tue, Nov 19 2013, Tomi Valkeinen <tomi.valkeinen@iki.fi> wrote:
\r
53 > If emacs is not installed, the following error is printed while
\r
56 > /bin/sh: 1: emacs: not found
\r
58 > This patch fixes the build.
\r
60 Tervetuloa notmuch-muutosten ihmeelliseen maailmaan !
\r
62 > It might be better to exclude the whole emacs directory from build when
\r
63 > compiling without emacs, but that's a bigger change.
\r
65 Well, that change would probably break my build: I configure --without-emacs
\r
66 (to disable emacs build during normal build) but then I build emacs MUA
\r
67 separately (to just one notmuch.elc file)...
\r
69 You could look http://article.gmane.org/gmane.mail.notmuch.general/15837
\r
70 ( id:"1377630047-27756-1-git-send-email-tomi.ollila@iki.fi" ) instead.
\r
72 If that works for you you can gain karma by reviewing it :D
\r
77 > Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
\r
79 > emacs/Makefile.local | 2 +-
\r
80 > 1 file changed, 1 insertion(+), 1 deletion(-)
\r
82 > diff --git a/emacs/Makefile.local b/emacs/Makefile.local
\r
83 > index 92467a3..0fcf64c 100644
\r
84 > --- a/emacs/Makefile.local
\r
85 > +++ b/emacs/Makefile.local
\r
86 > @@ -24,6 +24,7 @@ emacs_images := \
\r
88 > emacs_bytecode = $(emacs_sources:.el=.elc)
\r
90 > +ifeq ($(WITH_EMACS),1)
\r
91 > # Because of defmacro's and defsubst's, we have to account for load
\r
92 > # dependencies between Elisp files when byte compiling. Otherwise,
\r
93 > # the byte compiler may load an old .elc file when processing a
\r
94 > @@ -39,7 +40,6 @@ CLEAN+=$(dir)/.eldeps $(dir)/.eldeps.tmp
\r
95 > %.elc: %.el $(global_deps)
\r
96 > $(call quiet,EMACS) --directory emacs -batch -f batch-byte-compile $<
\r
98 > -ifeq ($(WITH_EMACS),1)
\r
99 > ifeq ($(HAVE_EMACS),1)
\r
100 > all: $(emacs_bytecode)
\r
105 > _______________________________________________
\r
106 > notmuch mailing list
\r
107 > notmuch@notmuchmail.org
\r
108 > http://notmuchmail.org/mailman/listinfo/notmuch
\r