[notmuch] [patch] Trivial fix for non-root install

Subject: [notmuch] [patch] Trivial fix for non-root install

Date: Mon, 23 Nov 2009 10:31:47 -0500

To: notmuch@notmuchmail.org

Cc:

From: Brett Viren


Installing as a normal user fails because the bash completion config
files try to install into /etc.  This trivial patch fixes this.

diff --git a/Makefile.config b/Makefile.config
index ddc7436..c04d57a 100644
--- a/Makefile.config
+++ b/Makefile.config
@@ -1,3 +1,2 @@
-prefix = /usr/local
-bash_completion_dir = /etc/bash_completion.d
+bash_completion_dir = $(prefix)/etc/bash_completion.d
 CFLAGS += -DHAVE_VALGRIND


-Brett.

Thread: