From e0bc0b115b4f38a41d13e2cf0652f34711264537 Mon Sep 17 00:00:00 2001 From: Blake Jones Date: Thu, 8 Nov 2012 22:22:26 +1600 Subject: [PATCH] Re: [PATCH v2 05/10] install: check for non-SysV version (Solaris support) --- da/3017f610e393fc6299dedb7a02dec562f67276 | 84 +++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 da/3017f610e393fc6299dedb7a02dec562f67276 diff --git a/da/3017f610e393fc6299dedb7a02dec562f67276 b/da/3017f610e393fc6299dedb7a02dec562f67276 new file mode 100644 index 000000000..ec5173b1b --- /dev/null +++ b/da/3017f610e393fc6299dedb7a02dec562f67276 @@ -0,0 +1,84 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 718EC431FB6 + for ; Wed, 7 Nov 2012 22:22:36 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id QO4YHXG8T2ar for ; + Wed, 7 Nov 2012 22:22:36 -0800 (PST) +Received: from foo.net (70-36-235-136.dsl.static.sonic.net [70.36.235.136]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id C6256431FAE + for ; Wed, 7 Nov 2012 22:22:35 -0800 (PST) +Received: from foo.net (localhost [127.0.0.1]) + by foo.net (8.14.5+Sun/8.14.5) with ESMTP id qA86MQYo023237; + Wed, 7 Nov 2012 22:22:26 -0800 (PST) +To: Tomi Ollila +Subject: Re: [PATCH v2 05/10] install: check for non-SysV version (Solaris + support) +In-Reply-To: Your message of "Tue, 06 Nov 2012 18:51:43 +0200." + +Date: Wed, 07 Nov 2012 22:22:26 -0800 +Message-ID: <23236.1352355746@foo.net> +From: Blake Jones +X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 + (foo.net [127.0.0.1]); Wed, 07 Nov 2012 22:22:27 -0800 (PST) +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Thu, 08 Nov 2012 06:22:36 -0000 + +> > diff --git a/vim/Makefile b/vim/Makefile +> > index f17bebf..7ceba7a 100644 +> > --- a/vim/Makefile +> > +++ b/vim/Makefile +> > @@ -5,8 +5,6 @@ files = plugin/notmuch.vim \ +> > prefix = $(HOME)/.vim +> > destdir = $(prefix)/plugin +> > +> > -INSTALL = install -D -m644 +> > - +> > all: help +> > +> > help: +> > @@ -17,7 +15,7 @@ help: +> > @echo " make symlink - create symlinks in ~/.vim (useful for dev +> elopment)" +> > +> > install: +> > - @for x in $(files); do $(INSTALL) $(CURDIR)/$$x $(prefix)/$$x; done +> > + @for x in $(files); do $(INSTALL) -D -m644 $(CURDIR)/$$x $(prefix)/$$x; +> done +> > +> > -link symlink: INSTALL = ln -fs +> > link symlink: install +> > + @for x in $(files); do ln -fs $(CURDIR)/$$x $(prefix)/$$x; done +> > -- +> +> Here you'd need to remove the 'install' dependency as it would first +> do it and then overwriting the results with dependency. + +Good catch, thanks; that's what I'll do. I also noticed a couple other +things in this file -- I need to "include ../Makefile.config" to get the +definition of $INSTALL, and $destdir isn't used in that Makefile. + +Blake -- 2.26.2