From: Jan Janak Date: Tue, 17 Nov 2009 22:18:47 +0000 (+0100) Subject: Older versions of install do not support -C. X-Git-Tag: 0.1~451 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=835e3a6977d5d56fccb42f5a0e4f3e6a5eb0eaa5;hp=fc3a3be33716675a4169ab4265a28250764b283d Older versions of install do not support -C. Do not use -C cmdline option of install, older versions, commonly found in distributions like Debian, do not seem to support it. Running make install on such systems (tested on Debian Lenny) fails. Signed-off-by: Jan Janak --- diff --git a/Makefile.local b/Makefile.local index a26ece2c..016805e0 100644 --- a/Makefile.local +++ b/Makefile.local @@ -27,11 +27,11 @@ install: all notmuch.1.gz for d in $(DESTDIR)$(prefix)/bin/ $(DESTDIR)$(prefix)/share/man/man1 \ $(DESTDIR)/etc/bash_completion.d/ ; \ do \ - install -C -d $$d ; \ + install -d $$d ; \ done ; - install -C notmuch $(DESTDIR)$(prefix)/bin/ - install -C -m0644 notmuch.1.gz $(DESTDIR)$(prefix)/share/man/man1/ - install -C notmuch-completion.bash \ + install notmuch $(DESTDIR)$(prefix)/bin/ + install -m0644 notmuch.1.gz $(DESTDIR)$(prefix)/share/man/man1/ + install notmuch-completion.bash \ $(DESTDIR)/etc/bash_completion.d/notmuch SRCS := $(SRCS) $(notmuch_client_srcs)