1 From: "Jan Janak" <jan@ryngle.com>
2 To: notmuch@notmuchmail.org
3 Date: Tue, 17 Nov 2009 23:18:47 +0100
4 Subject: [notmuch] [PATCH] Older versions of install do not support -C.
5 Message-ID: <1258496327-12086-1-git-send-email-jan@ryngle.com>
7 Do not use -C cmdline option of install, older versions, commonly found in
8 distributions like Debian, do not seem to support it. Running make install
9 on such systems (tested on Debian Lenny) fails.
11 Signed-off-by: Jan Janak <jan at ryngle.com>
13 Makefile.local | 8 ++++----
14 1 files changed, 4 insertions(+), 4 deletions(-)
16 diff --git a/Makefile.local b/Makefile.local
17 index f824bed..f51f1d1 100644
20 @@ -27,11 +27,11 @@ install: all notmuch.1.gz
21 for d in $(DESTDIR)$(prefix)/bin/ $(DESTDIR)$(prefix)/share/man/man1 \
22 $(DESTDIR)/etc/bash_completion.d/ ; \
24 - install -C -d $$d ; \
27 - install -C notmuch $(DESTDIR)$(prefix)/bin/
28 - install -C -m0644 notmuch.1.gz $(DESTDIR)$(prefix)/share/man/man1/
29 - install -C notmuch-completion.bash \
30 + install notmuch $(DESTDIR)$(prefix)/bin/
31 + install -m0644 notmuch.1.gz $(DESTDIR)$(prefix)/share/man/man1/
32 + install notmuch-completion.bash \
33 $(DESTDIR)/etc/bash_completion.d/notmuch
35 SRCS := $(SRCS) $(notmuch_client_srcs)