[PATCH] vim: simplify build
authorFelipe Contreras <felipe.contreras@gmail.com>
Wed, 18 Apr 2012 12:11:55 +0000 (15:11 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:31 +0000 (09:46 -0800)
e9/6dcc6a2bb42390688fd06fc958c110739ee960 [new file with mode: 0644]

diff --git a/e9/6dcc6a2bb42390688fd06fc958c110739ee960 b/e9/6dcc6a2bb42390688fd06fc958c110739ee960
new file mode 100644 (file)
index 0000000..712167a
--- /dev/null
@@ -0,0 +1,105 @@
+Return-Path: <felipe.contreras@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 7497C431FB6\r
+       for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 05:12:38 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 0v+ArpyrbzdE for <notmuch@notmuchmail.org>;\r
+       Wed, 18 Apr 2012 05:12:38 -0700 (PDT)\r
+Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com\r
+       [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id C7AFA431FAE\r
+       for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 05:12:37 -0700 (PDT)\r
+Received: by lahc1 with SMTP id c1so5771240lah.26\r
+       for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 05:12:36 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:x-mailer;\r
+       bh=Gioh9WuOGiNBjlatT4i04OwJDcHsEDTWbOLXlDLcBTk=;\r
+       b=f4/NHnrM6pSHT7hzwSH9v+Sx1bfFtoo+oUv9Iz06DbD97Q4anT0ZHV+D2Ct6CYTAnq\r
+       xWFEjIaZP0DOARaDNDXKgvtPPe0FgTjSQx4QdRbIzRkGMYjxIWndxV009J3r2z6tcO5q\r
+       KU4Tg4iyC8fZmMQavE+hiSveB4uj8wpw8cIhqYDfQrnkU8fYUnBSQBaiNheMPkeK69sN\r
+       qcvNFK3geyxSOGbxNoHRuAp9bveFJS6az4CNDzbZj+GTBqPLFrb6pTwNgAZgnt2tMOQS\r
+       D+Dbh/KuHi8d4u5ajZzpWJa+tQY15F03eCiQlOwZ3pmvF39LE7cUS4TWJlytezqq1w7B\r
+       89KA==\r
+Received: by 10.152.125.41 with SMTP id mn9mr1901014lab.30.1334751155979;\r
+       Wed, 18 Apr 2012 05:12:35 -0700 (PDT)\r
+Received: from localhost (85-156-70-103.elisa-mobile.fi. [85.156.70.103])\r
+       by mx.google.com with ESMTPS id fx5sm16262377lbb.5.2012.04.18.05.12.31\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Wed, 18 Apr 2012 05:12:35 -0700 (PDT)\r
+From: Felipe Contreras <felipe.contreras@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] vim: simplify build\r
+Date: Wed, 18 Apr 2012 15:11:55 +0300\r
+Message-Id: <1334751115-7216-1-git-send-email-felipe.contreras@gmail.com>\r
+X-Mailer: git-send-email 1.7.10\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 18 Apr 2012 12:12:38 -0000\r
+\r
+There should be no functional changes, except that you don't need to\r
+make the directories before installing.\r
+\r
+Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>\r
+---\r
+ vim/Makefile |   19 +++++++++----------\r
+ 1 file changed, 9 insertions(+), 10 deletions(-)\r
+\r
+diff --git a/vim/Makefile b/vim/Makefile\r
+index 89e18be..e7b7faa 100644\r
+--- a/vim/Makefile\r
++++ b/vim/Makefile\r
+@@ -1,11 +1,11 @@\r
+ .PHONY: all help install link symlink\r
+ \r
+-FILES     = plugin/notmuch.vim \\r
+-          $(wildcard syntax/notmuch-*.vim)\r
++files = plugin/notmuch.vim \\r
++      $(wildcard syntax/notmuch-*.vim)\r
++prefix = $(HOME)/.vim\r
++destdir = $(prefix)/plugin\r
+ \r
+-PREFIX    = $(shell ls -d ~/.vim/)\r
+-\r
+-OUT_FILES = $(FILES:%=${PREFIX}/%)\r
++INSTALL = install -D -m644\r
+ \r
+ all: help\r
+ \r
+@@ -16,9 +16,8 @@ help:\r
+       @echo "    make install     - copy plugin scripts and syntax files to ~/.vim"\r
+       @echo "    make symlink     - create symlinks in ~/.vim (useful for development)"\r
+ \r
+-install: ${OUT_FILES}\r
+-link symlink:\r
+-      ${MAKE} SYMLINK=1 install\r
++install:\r
++      @for x in $(files); do $(INSTALL) $(PWD)/$$x $(prefix)/$$x; done\r
+ \r
+-${OUT_FILES}: ${PREFIX}/%: %\r
+-      $(if ${SYMLINK},ln -fs,cp) `pwd`/$< $@\r
++link symlink: INSTALL = ln -fs\r
++link symlink: install\r
+-- \r
+1.7.10\r
+\r