From 3e4a9d60a9419621b08c647a306843d76c47c2cb Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 9 Mar 2011 15:02:42 -0800 Subject: build: Add support for non-source-directory builds. Such as: mkdir build cd build ../configure make This is implemented by having the configure script set a srcdir variable in Makefile.config, and then sprinkling $(srcdir) into various make rules. We also use vpath directives to convince GNU make to find the source files from the original source directory. --- compat/Makefile.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compat') diff --git a/compat/Makefile.local b/compat/Makefile.local index 653fc710..504eb715 100644 --- a/compat/Makefile.local +++ b/compat/Makefile.local @@ -1,7 +1,7 @@ # -*- makefile -*- dir := compat -extra_cflags += -I$(dir) +extra_cflags += -I$(srcdir)/$(dir) notmuch_compat_srcs := -- cgit v1.2.3