]> git.cworth.org Git - notmuch/commitdiff
build: Add support for non-source-directory builds.
authorCarl Worth <cworth@cworth.org>
Wed, 9 Mar 2011 23:02:42 +0000 (15:02 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 9 Mar 2011 23:10:03 +0000 (15:10 -0800)
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.


No differences found