1 Return-Path: <felipe.contreras@gmail.com>
\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 7497C431FB6
\r
6 for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 05:12:38 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id 0v+ArpyrbzdE for <notmuch@notmuchmail.org>;
\r
17 Wed, 18 Apr 2012 05:12:38 -0700 (PDT)
\r
18 Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com
\r
19 [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id C7AFA431FAE
\r
22 for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 05:12:37 -0700 (PDT)
\r
23 Received: by lahc1 with SMTP id c1so5771240lah.26
\r
24 for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 05:12:36 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
26 h=from:to:cc:subject:date:message-id:x-mailer;
\r
27 bh=Gioh9WuOGiNBjlatT4i04OwJDcHsEDTWbOLXlDLcBTk=;
\r
28 b=f4/NHnrM6pSHT7hzwSH9v+Sx1bfFtoo+oUv9Iz06DbD97Q4anT0ZHV+D2Ct6CYTAnq
\r
29 xWFEjIaZP0DOARaDNDXKgvtPPe0FgTjSQx4QdRbIzRkGMYjxIWndxV009J3r2z6tcO5q
\r
30 KU4Tg4iyC8fZmMQavE+hiSveB4uj8wpw8cIhqYDfQrnkU8fYUnBSQBaiNheMPkeK69sN
\r
31 qcvNFK3geyxSOGbxNoHRuAp9bveFJS6az4CNDzbZj+GTBqPLFrb6pTwNgAZgnt2tMOQS
\r
32 D+Dbh/KuHi8d4u5ajZzpWJa+tQY15F03eCiQlOwZ3pmvF39LE7cUS4TWJlytezqq1w7B
\r
34 Received: by 10.152.125.41 with SMTP id mn9mr1901014lab.30.1334751155979;
\r
35 Wed, 18 Apr 2012 05:12:35 -0700 (PDT)
\r
36 Received: from localhost (85-156-70-103.elisa-mobile.fi. [85.156.70.103])
\r
37 by mx.google.com with ESMTPS id fx5sm16262377lbb.5.2012.04.18.05.12.31
\r
38 (version=TLSv1/SSLv3 cipher=OTHER);
\r
39 Wed, 18 Apr 2012 05:12:35 -0700 (PDT)
\r
40 From: Felipe Contreras <felipe.contreras@gmail.com>
\r
41 To: notmuch@notmuchmail.org
\r
42 Subject: [PATCH] vim: simplify build
\r
43 Date: Wed, 18 Apr 2012 15:11:55 +0300
\r
44 Message-Id: <1334751115-7216-1-git-send-email-felipe.contreras@gmail.com>
\r
45 X-Mailer: git-send-email 1.7.10
\r
46 X-BeenThere: notmuch@notmuchmail.org
\r
47 X-Mailman-Version: 2.1.13
\r
49 List-Id: "Use and development of the notmuch mail system."
\r
50 <notmuch.notmuchmail.org>
\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
54 List-Post: <mailto:notmuch@notmuchmail.org>
\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
57 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
58 X-List-Received-Date: Wed, 18 Apr 2012 12:12:38 -0000
\r
60 There should be no functional changes, except that you don't need to
\r
61 make the directories before installing.
\r
63 Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
\r
65 vim/Makefile | 19 +++++++++----------
\r
66 1 file changed, 9 insertions(+), 10 deletions(-)
\r
68 diff --git a/vim/Makefile b/vim/Makefile
\r
69 index 89e18be..e7b7faa 100644
\r
73 .PHONY: all help install link symlink
\r
75 -FILES = plugin/notmuch.vim \
\r
76 - $(wildcard syntax/notmuch-*.vim)
\r
77 +files = plugin/notmuch.vim \
\r
78 + $(wildcard syntax/notmuch-*.vim)
\r
79 +prefix = $(HOME)/.vim
\r
80 +destdir = $(prefix)/plugin
\r
82 -PREFIX = $(shell ls -d ~/.vim/)
\r
84 -OUT_FILES = $(FILES:%=${PREFIX}/%)
\r
85 +INSTALL = install -D -m644
\r
89 @@ -16,9 +16,8 @@ help:
\r
90 @echo " make install - copy plugin scripts and syntax files to ~/.vim"
\r
91 @echo " make symlink - create symlinks in ~/.vim (useful for development)"
\r
93 -install: ${OUT_FILES}
\r
95 - ${MAKE} SYMLINK=1 install
\r
97 + @for x in $(files); do $(INSTALL) $(PWD)/$$x $(prefix)/$$x; done
\r
99 -${OUT_FILES}: ${PREFIX}/%: %
\r
100 - $(if ${SYMLINK},ln -fs,cp) `pwd`/$< $@
\r
101 +link symlink: INSTALL = ln -fs
\r
102 +link symlink: install
\r